8368 Commits

Author SHA1 Message Date
jp9000
d28cf8c159 UI: Add 64bit windows checks to installer
Prevents it from writing to non-existent vulkan registry locations on
32bit-only systems.
2020-06-20 19:30:51 -07:00
Eric Lindvall
f79f816b72 libobs: Reset audio data on timestamp jump
To prevent issues in audio mixing make sure the audio data is also cleared
when audio timing is reset.
2020-06-20 14:55:31 -07:00
jbpratt78
cc66198164 rtmp-services: add angelthump 2020-06-20 16:42:13 -05:00
Richard Stanway
f03fe34009 UI/updater: Use 1 MB static memory for hashing
Allocating a vector for the hundreds of small files and only reading
64k at a time was a bottleneck on systems that were not I/O bound.
2020-06-19 16:20:32 +02:00
Richard Stanway
3c91fac18e UI/updater: Fix running updater as different user
If the elevated user was a different user account, the updater would
look in the wrong user's appdata for the manifest and fail.
2020-06-19 16:20:32 +02:00
Richard Stanway
f26941b566 UI/updater: Exit with error if elevation failed
In rare cases, "runas" would somehow launch the updater as a non-admin user
again, resulting in a loop where the updater constantly spawns processes.
Fixes https://github.com/obsproject/obs-studio/issues/2984
2020-06-19 16:20:32 +02:00
Jim
7a63f75f00
Merge pull request #2820 from Fenrirthviti/nsis-update
UI: Update NSIS installer script
2020-06-18 23:51:44 -07:00
Eric Lindvall
1939472912 obs-outputs: Log unhandled rtmp status responses
rtmp status responses that are not handled are currently silently ignored
making it difficult to identify issues.
2020-06-18 18:00:45 -07:00
Eric Lindvall
6a880530f1 obs-outputs: Handle rtmp NetStream.Publish.BadName response
Adobe Media Server and nginx-rtmp can return this status response to a
publisher if the key is already being used to publish.
2020-06-18 18:00:45 -07:00
Richard Stanway
aa313a1fb1 UI: Don't try to create service if missing file
This would cause meaningless "Service '' not found" log entries.
2020-06-18 23:49:21 +02:00
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 636f0bfdfa81f843a629ec2494e2657dbeab5742, reversing
changes made to b9ea45e4982f4ec26b3f115f0e625289a8f26ae4.
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