Commit graph

13252 commits

Author SHA1 Message Date
Ryan Foster f9054371fc CI: Update peter-evans/create-pull-request GitHub Action
We're currently using peter-evans/create-pull-request v4.0.3 which is
still using the deprecated set-output command. This was fixed in v4.1.4,
so let's update to that version for now.
2023-08-09 12:13:32 -04:00
Ryan Foster 4037e18d97 CI: Pin third-party actions to specific commits
Recommended practice is to pin third-party actions to specific commits.
2023-08-09 12:13:32 -04:00
Ryan Foster ad8889a3cb CI: Update deps to 2023-08-08 release
Notable changes:
 * deps.windows: Add VPL debug build
2023-08-09 10:53:07 -04:00
gxalpha 57cda30bd3 obs-browser: Disable Bluetooth support 2023-08-08 21:36:10 -04:00
Ryan Foster 7a0d069e24 CI: Fix services validator being unable to create Pull Requests
Add write permission to the pull-request scope for the
services-availability and services-validation jobs to allow them to
create and update Pull Requests.
2023-08-07 13:48:24 -04:00
Gale 61a3e4365b obs-qsv11: Remove MSDK headers 2023-08-07 13:23:26 -04:00
Gale dbbbcd8c57 obs-qsv11: Add VPL changes 2023-08-07 13:23:26 -04:00
tytan652 db8ae46ca8 UI: Avoid showing YouTubeAppDock each time settings are updated 2023-08-05 18:32:18 -07:00
田七不甜 e8dbeede76 UI: Make title bar "SAFE MODE" translatable 2023-08-05 17:21:22 -07:00
Lain 796e2d5815
Merge pull request #9339 from tytan652/prevent_simde_contamination
Contain simde diagnostic pragmas and replace variable-length arrays
2023-08-05 17:10:33 -07:00
PatTheMav 1b194c8ebd libobs: Add local event monitor for hotkey thread
To avoid a mismatch between the state of pressed keys as held by the
hotkey thread and keys pressed while the application is in focus, local
key events need to be monitored as well (even though they are already
handled by Cocoa's main event loop).
2023-08-05 16:48:53 -07:00
Ryan Foster d00068cb6c plugins: Update CMake minimum to 3.22
Since Ubuntu 22.04 is now our minimum supported Ubuntu version, and it
has CMake 3.22, let's make CMake 3.22 the minimum CMake version.
2023-08-05 16:45:46 -07:00
Ryan Foster fc693f9c3d libobs: Update CMake minimum to 3.22
Since Ubuntu 22.04 is now our minimum supported Ubuntu version, and it
has CMake 3.22, let's make CMake 3.22 the minimum CMake version.
2023-08-05 16:45:46 -07:00
Ryan Foster 41a915db9e deps: Update CMake minimum to 3.22
Since Ubuntu 22.04 is now our minimum supported Ubuntu version, and it
has CMake 3.22, let's make CMake 3.22 the minimum CMake version.
2023-08-05 16:45:46 -07:00
Ryan Foster 2f8ea190b2 UI: Update CMake minimum to 3.22
Since Ubuntu 22.04 is now our minimum supported Ubuntu version, and it
has CMake 3.22, let's make CMake 3.22 the minimum CMake version.
2023-08-05 16:45:46 -07:00
Ryan Foster e82a0aede0 cmake: Update CMake minimum to 3.22
Since Ubuntu 22.04 is now our minimum supported Ubuntu version, and it
has CMake 3.22, let's make CMake 3.22 the minimum CMake version.
2023-08-05 16:45:46 -07:00
tytan652 049f4454d4 UI: Fix YouTubeAppDock restore dock state 2023-08-05 16:44:16 -07:00
PatTheMav 57849bb0e7 obs-outputs: Refine certificate selection on macOS
Query for trusted and valid (based on datetime) certificates only.
2023-08-05 16:41:41 -07:00
tytan652 852dcf6f15 libobs/util: Contain simde diagnostic pragmas 2023-08-06 01:31:02 +02:00
tytan652 63a9d372bb mac-virtualcam: Replace variable-length arrays with NSMutableData
Co-authored-by: Patrick Heyer <PatTheMav@users.noreply.github.com>
2023-08-06 01:31:02 +02:00
tytan652 54bacd4f10 libobs: Remove variable-length array 2023-08-06 01:31:02 +02:00
tytan652 27630a8c0e linux-pipewire: Replace variable-length arrays with dynamic arrays
The in-tree simde is actually adding a pragma that makes -Wvla ignored
2023-08-06 01:31:02 +02:00
gxalpha 6a42d88ca7 UI: Don't call obs_source_get_output_flags on a NULL source 2023-08-05 16:30:44 -07:00
PatTheMav cb531b5034 CI: Remove optimistic continuation of disk image creation for macOS
The situation of the mount point being unmounted after an unsuccessful
detach attempt leads to an unrecoverable situation. Instead of
optimistically continuing, the script has to fail.
2023-08-05 18:12:06 -04:00
PatTheMav 0a248ab589 CI: Add write permissions to contents scope to service validator 2023-08-05 17:54:41 -04:00
Lain 78cb2aa361 UI: Fix case where cef func may not be present
Due to a particular... plugin we all know and love, the new
QCefWidget::executeJavascript() function may not actually be present as
it should be. So, we have to verify that it's available, and only use it
in that case.
2023-08-05 04:35:31 -07:00
tytan652 c946090203 UI: Use new add dock path for YouTubeAppDock 2023-08-05 03:46:50 -07:00
Lain 4af00587a6 obs-transitions: Fix stingers lingering on last frame
(This commit also modifies obs-ffmpeg)

This change was meant for track matte stingers to prevent the last frame
from having risk of flashing due to their transparent nature, but this
code had a negative side effect on normal stingers as well.

Fixes obsproject/obs-studio#8981
2023-08-04 11:13:31 -07:00
PatTheMav 7ece5cd057 CI: Add wrapper function for macOS disk image operations
As not only detaching but apparently all operations of hdiutil can be
blocked by slow disk I/O on CI runners, this wraps all invocations of
it in a helper function that attempts up to 5 retries with a backoff
timer.
2023-08-04 13:00:40 -04:00
jpark37 b5c5f71cee graphics-hook: Handle VkImageViewUsageCreateInfo
Our solution for adding TRANSFER_SRC usage for imageless framebuffers
was triggering validation errors when combined with image view usage
overrides. Add TRANSFER_SRC onto usage overrides for swap chain image
views to fix mismatches.
2023-08-04 03:35:10 -07:00
Lain e86b2950a2 UI: Fix build error (forgot macro) 2023-08-03 18:43:01 -07:00
Lain 0c6fa0a2ba UI: Fix YouTubeAppDock crash
Apparently the YouTube app dock thing didn't take into consideration the
fact that the user may have the browser source available, but may not
have browser docks available (via the `cef` global). This is because
certain system configurations do not support browser widgets, such as
Wayland on Linux.

(Lain note: There's multiple things I'm unhappy about here. I'm mostly
going to blame myself for multiple reasons.)
2023-08-03 18:25:25 -07:00
Lain 9d2715fe72 frontend-tools: Disable properties deferring in script dialog
Prevents scripts from being able to defer their settings in the
properties view (because there's nothing to really defer to).
2023-08-03 16:28:00 -07:00
Lain 2a2472e326 UI: Add func to disable properties view deferring 2023-08-03 16:27:55 -07:00
Lain d2d3e46e14 Revert "UI: Only defer property updates for input and transition sources"
This reverts commit 58fb63030c.

This is not the ideal fix for the fact that scripts can use a deferred
update flag because it makes it so that filters in general cannot use
flags. We need to disable this via other means.
2023-08-03 16:09:31 -07:00
PatTheMav 499ddfb32c CI: Fix detaching of temporary macOS disk images during image creation 2023-08-03 12:06:01 -04:00
tytan652 27d65b64c2 build-aux: Update Flatpak modules
- Update mbedTLS to 3.4.0
- Update aom to 3.6.1
- Update libsrt to 1.5.2
- Update SVT-AV1 to 1.6.0
- Update LuaJIT to 8635cbabf3
- Update Asio to 1.28.0
2023-08-03 10:25:05 -04:00
cg2121 620eff0768 libobs: Make video frame header public
This fixes compilation of third party plugins that need this
header.
2023-08-03 16:02:56 +02:00
Yuriy Chumak 81b588137a UI: Add "YouTube Control Panel" dock panel
New dock panel with integrated youtube studio live control room.
This commit also modifies CI files.
2023-08-02 17:49:05 -07:00
Ryan Foster 807c8a9106 CI: Update deps to 2023-08-02 release
Notable changes:
 * deps.ffmpeg: Add macOS dSYMs
 * deps.ffmpeg: Update libpng to 1.6.40
 * deps.ffmpeg: Update opus to 1.4
 * deps.ffmpeg: Update SVT-AV1 to 1.6.0
 * deps.ffmpeg: Update aom to 3.6.1
 * deps.ffmpeg: Update mbedTLS to 3.4.0
 * deps.ffmpeg: Update libsrt to 1.5.2
 * deps.ffmpeg: Update AMF to 1.4.30
 * deps.macos: Add macOS dSYMs
 * deps.macos: Add Carla 2.6.0-alpha1
 * deps.macos: Add Libqrcodegencpp
 * deps.macos: Update LuaJIT to 2.1 8635cbabf3
 * deps.macos: Update libpng to 1.6.40
 * deps.macos: Update FreeType to 2.13.1
 * deps.macos: Update Asio to 1.28.0
 * deps.macos: Fix SWIG version number
 * deps.macos: Update Sparkle to 2.4.2
 * deps.macos: Update Syphon Framework to 5.0 cb3d8ec506
 * deps.windows: Add Carla 2.6.0-alpha1
 * deps.windows: Add VPL v2023.3.0
 * deps.windows: Add Lidqrcodegencpp
 * deps.windows: Re-enable mbedTLS build
 * deps.windows: Update mbedTLS to 3.4.0
 * deps.windows: Update curl to 8.1.2
 * deps.windows: Update LuaJIT to 2.1 8635cbabf3
 * deps.windows: Update Asio to 1.28.0
 * deps.windows: Update Zstandard to 1.5.5
 * deps.qt: Add macOS dSYMs
 * deps.qt: Update Qt6 to 6.5.2 for Windows
 * deps.qt: Update Qt6 to 6.5.2 for macOS

This commit also updates the version of Sparkle used in buildspec to
match the version used in obs-deps.
2023-08-02 20:31:06 -04:00
derrod 117534368b libobs: Profile graphics initialisation and shader compilation 2023-08-02 04:48:43 -07:00
Sebastian Beckmann 211a812cc7
CI: Shorten job and step labels in workflow files 2023-08-02 01:07:44 +02:00
derrod c3ac912065 UI: Refactor getting the default encoder for a format 2023-08-01 11:43:38 -07:00
derrod 036f7e8147 UI: Clean up remaining C-isms in FFmpeg utils 2023-08-01 11:43:38 -07:00
derrod 2f78bb7991 UI: Replace FFmpeg encoder alias with long name
The alias is not really helpful and sometimes confusing, e.g. for HEVC
(without libx265) it ends up being "hevc_nvenc (hevc_amf)" since it just
contains the name of the default encoder. So instead of using the name
of the default encoder, show the full name of the encoder instead.
2023-08-01 11:43:38 -07:00
derrod c20bf0271c UI: Refactor FFmpeg utilities codec/format enumeration 2023-08-01 11:43:38 -07:00
derrod c1cd268532 UI: Fix matching FFmpeg formats/codecs 2023-08-01 11:43:38 -07:00
derrod a0ae12981c deps: Remove libff 2023-07-30 15:58:21 -07:00
derrod f0407dd1cd UI: Migrate from libff 2023-07-30 15:58:21 -07:00
Penwywern 182468b373 win-wasapi: Add hook signal and proc for process output capture 2023-07-30 14:06:53 -07:00