0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 13:08:50 +02:00
Commit Graph

8358 Commits

Author SHA1 Message Date
Richard Stanway
169764fc51 UI: Don't try to load replay buffer hotkey if null
If replay buffer hotkey isn't set, this would cause an error to be
logged due to a null string.
2020-06-18 23:43:52 +02:00
Jim
7dc40d5edf
Merge pull request #3033 from Fenrirthviti/win-sdk-update
cmake: Update Windows SDK check to 19041
2020-06-14 22:02:00 -07:00
jpark37
d9fa5de572 libobs: Fix right edge for "video scaler"
FFmpeg YUV to RGB conversions require extra destination padding.

This code only appears to be exercised for DeckLink.
2020-06-14 20:26:10 -07:00
jpark37
2123b306f3 libobs: Fix right edge of some videos
FFmpeg YUV to RGB conversions require extra destination padding.

The Mantis issue might have been fixed when some YUV format conversions
were moved to the GPU, but this may fix other YUV formats.

Fixes https://obsproject.com/mantis/view.php?id=1177
2020-06-14 20:00:58 -07:00
jpark37
4c2e430c0c libobs: Fix right edge for JPEG images
FFmpeg YUV to RGB conversions require extra destination padding.
2020-06-14 20:00:58 -07:00
Clayton Groeneveld
777d9eb787 UI: Auto update projector settings 2020-06-13 21:00:55 -05:00
Clayton Groeneveld
87965dff59 UI: Fix projector always on top not working on Linux 2020-06-13 20:10:38 -05:00
Clayton Groeneveld
01fe9c990c UI: Delete existing fullscreen projector 2020-06-13 19:54:28 -05:00
jpark37
218a3d36a3 deps/media-playback: Use SWS_POINT instead of SWS_FAST_BILINEAR
There is no resize happening in this code, so bilinear doesn't make
sense. Fixes artifacts caused by SWS_FAST_BILINEAR approximation.
2020-06-11 10:49:04 -07:00
jpark37
89532e59fc deps/media-playback: Use OBS YUV(A)444P to RGB conversion
swscale with SWS_FAST_BILINEAR produces artifacts.
2020-06-11 10:49:00 -07:00
jpark37
6aa50b3ef1 libobs: Use autoreleasepool for graphics thread
Apparently necessary to clean up macOS leaks.
2020-06-08 13:16:35 -07:00
jpark37
a7813c9f87 win-capture: Remove dead VkResult values 2020-06-07 15:22:13 -07:00
jpark37
886bf5ceb7 libobs/media-io: Remove unused code 2020-06-07 11:16:24 -07:00
Ka Ho Ng
d9d33b431a oss-audio: Add en-US translation data file 2020-06-06 09:20:21 +08:00
Ka Ho Ng
33dd7eebd2 UI: Fix GetPreferredLocales locale detection
When scanning the preferred locales, always pick the one
with exact match before falling back to other matches.
2020-06-06 09:00:52 +08:00
Joel Bethke
e10d3be804 cmake: Update minimum Windows SDK version 2020-06-03 17:06:31 -05:00
Joel Bethke
f543ac365d UI: Update NSIS installer script
This brings the script in the repo up to date with what is being
used to generate release builds for OBS Studio on Windows, as
well as fixing up a few issues.
2020-06-03 16:54:50 -05:00
Joel Bethke
05c9ddd229
Merge pull request #3020 from jpark37/windows-sdk-19041
libobs-winrt: Require Windows 10 SDK 19041
2020-06-03 13:10:27 -05:00
jpark37
0d1f334591 libobs-winrt: Require Windows 10 SDK 19041
This will prevent compiling without WGC cursor toggle support.
2020-06-03 08:00:44 -07:00
Joel Bethke
cda14a0acb
Merge pull request #3022 from matclayton/master
rtmp-services: Add Mixcloud service
2020-06-02 09:23:12 -05:00
Richard Stanway
4ec875485d image-source: Don't check for changes when hidden
If an image source isn't visible there is no point polling for changes
during the time it's hidden as no one will see them. Should the image
be on unreachable media such as an unavailable network share, this
check would cause the graphics thread to periodically stall trying to
detect changes of a non-visible image source.

If the image is modified while it's hidden, the updated file will now
be loaded as soon as the source is made visible - the update timer
intentionally ticks up while hidden.

Partially fixes some of the behavior described in
https://github.com/obsproject/obs-studio/issues/3007, a full fix
likely requires significant changes to support OS-specific file change
notification APIs.
2020-06-01 23:40:22 +02:00
jp9000
72a94cb6f5 Revert "Merge pull request #2993 from brittneysclark/enable_vdenc"
This reverts commit 636f0bfdfa, reversing
changes made to b9ea45e498.
2020-06-01 13:40:18 -07:00
Jim
636f0bfdfa
Merge pull request #2993 from brittneysclark/enable_vdenc
obs-qsv11: Simplify QSV settings in UI and Enable AVC VDEnc on ICL+
2020-06-01 13:14:24 -07:00
Mat Clayton
33f3501b48 rtmp-services: Add Mixcloud 2020-06-01 21:08:37 +01:00
Richard Stanway
b9ea45e498
Merge pull request #2977 from futr/fix-non-terminated-str
libobs: Fix os_get_executable_path_ptr on Linux
2020-06-01 21:27:49 +02:00
Richard Stanway
b62ced9bf2 libobs: Unload modules while OBS core is active
Modules are now unloaded while OBS core is still active, allowing
modules that call into libobs in their unload function to continue to
work. This changes the behavior of such calls - previously they were a
no-op since the OBS core would be gone, but they are now executed with
the OBS core still being active.
2020-06-01 15:54:46 +02:00
Richard Stanway
dd519123c6 libobs: Remove excessive null checks
libobs functions check for a null obs_core inconsistently. If the core
is null, the functions silently return with no indication of an error to
the API user. This commit removes all null checks in libobs functions
that require libobs to be initialized. For OBS Studio, we are
(hopefully!) using the API properly so this should have no impact.
2020-06-01 15:54:23 +02:00
Jim
71506a8f72
Merge pull request #3017 from exeldro/hotkey_pair_data
libobs: Use correct data pointer for hotkey pair
2020-05-31 23:41:36 -07:00
Exeldro
2d75639f58 libobs: Use correct data pointer for hotkey pair 2020-06-01 08:22:47 +02:00
jpark37
83dd9c8540 win-capture: Improve Vulkan synchronization
Use general layout and 0 access masks for external synchronization as
specified in the spec.

Also set pipeline stages for maximum synchronization just in case
because it doesn't seem like the pipeline stages are specified.

"Vulkan-incompatible APIs will require the image to be in the GENERAL
layout whenever they are accessing them."

"Whilst it is not invalid to provide destination or source access masks
for memory barriers used for release or acquire operations,
respectively, they have no practical effect. Access after a release
operation has undefined results, and so visibility for those accesses
has no practical effect. Similarly, write access before an acquire
operation will produce undefined results for future access, so
availability of those writes has no practical use. In an earlier version
of the specification, these were required to match on both sides - but
this was subsequently relaxed. These masks should be set to 0."
2020-05-31 22:31:39 -07:00
Masato Takahashi
4ded3b39fd libobs: Fix os_get_executable_path_ptr on Linux
Terminate a non-terminated string generated by readlink()
to pass to dirname() that needs terminated string as a parameter.
2020-06-01 09:22:12 +09:00
jpark37
6d60c5f954 libobs-winrt: Move project to core VS filter
This module houses more WinRT functionality than just window capture.
2020-05-30 21:17:12 -07:00
Michael R. Crusoe
3778086f04
cmake: SIMDe & GCC? then enable OpenMP 4 SIMD
There is no run time library required with -fopenmp-simd
2020-05-29 12:37:21 +02:00
Michael R. Crusoe
9f72a8ef8c
libos: Freshen SIMDe code copy
Up to date with cafec4b952

Documentation was added to libobs/util/simde/README.libobs
2020-05-29 12:37:14 +02:00
Ben Torell
699ce4d294
Merge pull request #3001 from cg2121/remove-doxygen-config
docs: Remove Doxyfile
2020-05-28 16:42:34 -04:00
Clayton Groeneveld
62f4d69203 docs: Remove Doxyfile 2020-05-28 15:18:22 -05:00
Joel Bethke
62b634a427
Merge pull request #3000 from cg2121/remove-doxygen
docs: Remove Doxygen
2020-05-28 15:06:10 -05:00
Clayton Groeneveld
e3a1659134 docs: Remove Doxygen 2020-05-28 15:00:52 -05:00
Colin Edwards
d886dbef51
Merge pull request #2983 from kkartaltepe/formatcode-faster
CI: Improve formatcode.sh efficiency
2020-05-28 09:56:10 -05:00
brittneysclark
d0a539341b obs-qsv11: Simplify UI subjective quality parameters
Combine MMBRC and CQM parameters into a subjective video
enhancement box
2020-05-28 05:32:44 -07:00
Clayton Groeneveld
0f8246e359 UI: Change audio device string in settings 2020-05-26 20:01:22 -05:00
Kurt Kartaltepe
a7ebf47834 CI: Improve formatcode.sh efficiency
Batch files into clang-format to prevent needless processes. Now its
twice as fast in real time and uses 4x less resources. The old
implementation is also slower (but pretty close to) running a single
invocation of clang-format on all files.

before
time ./formatcode.sh
real	0m3.860s
user	0m20.975s
sys	0m6.694s

after
time ./formatcode.sh
real	0m1.486s
user	0m5.426s
sys	0m0.203s
2020-05-24 14:13:45 -07:00
Richard Stanway
79981889c6 obs-filters: Misc code cleanups detected by PVS Studio 2020-05-24 18:09:42 +02:00
Ioan Loosley
8814e2bf4c
linux-v4l2: Selective stream restart
This commit adds a basic check to see if the v4l2 stream requires a
restart. This is primarly implemented on the basis of the fact that
the options requiring a restart have values stored in the v4l2_data
structure. A restart is only needed if any of the values have changed
since the last update.
2020-05-24 17:05:00 +01:00
Richard Stanway
ea7bb7a7cd obs-ffmpeg: Show friendly error for NV_ENC_ERR_INVALID_VERSION 2020-05-24 14:42:14 +02:00
Jim
4ed3df14a6
Merge pull request #2979 from notr1ch/min-res
UI: Set 8 x 8 as minimum selectable resolution
2020-05-23 21:55:44 -07:00
Richard Stanway
0a467085d2 UI: Set 8x8 as minimum selectable resolution
Since libobs internally rounds to various powers of 2 to support SSE
functions, resolutions that are too low can get rounded to zero. libobs
will fail to startup with a zero resolution, so if a user accidentally
entered anything that rounded to zero OBS would become unusable without
manual fixing by editing the profile .ini.
2020-05-24 00:48:37 +02:00
Clayton Groeneveld
9db6a33714 UI: Add percent checkbox to advanced audio dialog 2020-05-23 01:05:07 -05:00
Jim
e099fa8110
Merge pull request #2976 from ioangogo/theme-case-fix
UI: Theme case fix
2020-05-22 19:58:38 -07:00
Richard Stanway
50e1d17615 win-capture: Better matching of internal UWP windows
All strings were treated as partial matches before, which caused a
false positive with any executable beginning with "time", notably
affecting the game "Timelie" which used Timelie.exe.
2020-05-23 01:50:38 +02:00