Commit Graph
8172 Commits
Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
Richard Stanway eee7862363 UI: Don't show alpha value for color source
This isn't editable by the user, so it doesn't make sense to show it.
2020-05-23 01:15:02 +02:00
Ioan Loosley 06fdd35298 UI: Fixed case to match what the files are named
The files on disk are lower-case but QSS refrences them in
upper-case. Windows doesn't report errors as the platform isn't case
sensitive. Error messages are generated and icons not to render on
case sensitive platforms such as Linux and Mac
2020-05-22 23:42:35 +01:00
Jim 0cb0fd7522 Merge pull request #2971 from kkartaltepe/vlc-force
CI: Require VLC in CI builds, Fix VLC in CI
2020-05-21 20:20:34 -07:00
Jim b0e8ba6db8 Merge pull request #2972 from kkartaltepe/cmake-variety-fixes
cmake: Fix warnings and normalize variables/errors
2020-05-21 19:40:57 -07:00
Kurt Kartaltepe de74ea8ad9 CI: Require VLC in CI builds, Fix VLC
Previously VLC was downloaded but was skipped since it could not be
found. This sets the VLCPath to ensure it is found.
2020-05-21 19:32:39 -07:00
Kurt Kartaltepe d928bfd1ea cmake: Fix warnings and normalize variables/errors
As of 3.17 using find_package_handle_standard_args checks that the name
of the FindXXX file and the first argument are the same case.

Some modules used non-standard variables or the old singular variables
instead of plurals. This normalizes variable usage to the new-style.

Some CMakeLists.txt did custom error checking instead of propagating
find_package errors. These were changes to call find_package with
REQUIRED or without QUIET where needed and shortens the custom status
messages. This helps users who want to enable that functionality see
what precisely wasnt found.
2020-05-21 18:45:16 -07:00
Jim 665180350d Merge pull request #2657 from hselasky/improvement
libobs: Implement and use better scaling function for 64-bit integers
2020-05-21 18:07:53 -07:00
Jim e822b47427 Merge pull request #2442 from WizardCM/windows-extras
Windows: Taskbar icon & colour
2020-05-21 17:45:34 -07:00
Jim 9607a9f46e Merge pull request #2384 from LiamCoal/allow-no-buffering
media-playback: Unbuffered Media Source
2020-05-21 17:40:08 -07:00
Jim 770408a7da Merge pull request #2967 from jpark37/promotion-warnings
libobs: Fix potential truncation warnings
2020-05-21 17:36:35 -07:00
Jim dedc0c01d5 Merge pull request #2964 from jpark37/winrt-dispatcher
Set up dispatcher queue for WGC stability
2020-05-21 17:31:30 -07:00
Jim ad919b47ea Merge pull request #2921 from jpark37/vulkan-format-fail
win-capture: Fail on unsupported Vulkan formats
2020-05-21 17:29:57 -07:00
Jim c5187aef16 Merge pull request #2908 from jpark37/wgc-minimize
Fix WGC minimize handling
2020-05-21 17:29:04 -07:00
jpark37 cd6f56d0ea libobs: Fix potential truncation warnings 2020-05-21 10:02:03 -07:00
jpark37 5734ab7a9b libobs: WinRT and dispatcher init on graphics thread
Suspected necessary for WGC stability.
2020-05-21 09:25:54 -07:00
jpark37 49bc89f2b2 libobs-winrt: Add dispatcher queue API
Suspected necessary for WGC stability.
2020-05-21 09:25:50 -07:00