Commit graph

13233 commits

Author SHA1 Message Date
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
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
Penwywern 82beae249a win-capture: Add hook signal and proc for window capture 2023-07-30 14:06:53 -07:00
Penwywern 9d7a963386 win-capture: Add hook signal and proc for game capture 2023-07-30 14:06:53 -07:00
Penwywern e9c12b7d9d linux-capture: Add hook signal and proc for Xcomposite window capture 2023-07-30 14:06:53 -07:00
cg2121 5e198db647 UI: Add new scene at current row
Instead of having a new scene at the bottom of the list, have
it added after the current item.
2023-07-29 17:20:47 -07:00
derrod 5569139c43 deps/libff: Remove unused code and header files 2023-07-29 17:08:20 -07:00
Exeldro 91f00eac87 UI: Split toggle preview program hotkey into hotkey pair 2023-07-29 16:48:25 -07:00
jpark37 f5f7ae3e7f decklink: Support 10-bit RGB capture
Don't drop to YUV if a pure RGB signal is available.
2023-07-29 16:41:31 -07:00
jpark37 7669da1ea8 libobs: Add VIDEO_FORMAT_R10L
Support 10-bit packed format that DeckLink uses.
2023-07-29 16:41:31 -07:00
jpark37 0934e73902 libobs-opengl: Support mad/uint2/uint3/uint4 2023-07-29 16:41:31 -07:00
tytan652 c6ce50c9a3 deps,libobs,plugins: Remove in-tree Jansson
Jansson is provided by other means on any supported platform.
2023-07-29 16:37:14 -07:00
Ryan Foster f7d3ba7b1b libobs: Check if adapter can safely fast clear 2023-07-29 16:34:47 -07:00
Ryan Foster e5d5df879c libobs: Add function to check fast clear capability 2023-07-29 16:34:47 -07:00
Ryan Foster a8f770fdfc libobs-d3d11: Check if device can perform fast clear on init
NVIDIA GPUs in multi-GPU setups cannot safely perform a fast clear until
driver 527.37. Implement a check against the Vendor ID and driver
version of the adapter to determine if the adapter can safely perform a
fast clear.

Co-authored-by: derrod <dennis@obsproject.com>
2023-07-29 16:34:47 -07:00
Lain 346b93c9c4
Merge pull request #8689 from gxalpha/no-more-signal-slot-macro
UI: SIGNAL and SLOT macros begone!
2023-07-29 16:32:56 -07:00
CodeYan01 a494cf5ce4 libobs: Add obs_source_info.filter_add
If there is filter_remove, it is reasonable to expect that there is also
filter_add. filter_add also enables filters to attach signal handlers
on the parent, and disconnect them in filter_remove.
2023-07-29 16:15:21 -07:00
tytan652 51887595f8 build-aux: Add RNNoise Flatpak module
Replace in-tree RNNoise with a module with the same version as macOS
obs-deps
2023-07-29 16:11:47 -07:00
Norihiro Kamae 9ca55eea43 obs-qsv11: Downgrade minimum required CMake version 2023-07-29 16:07:54 -07:00
Lain 106e28d60f
Merge pull request #9302 from derrod/ui-update-nlohmann
UI: Migrate WhatsNew, update branches, and Windows update check to nlohmann JSON
2023-07-29 16:06:28 -07:00
Norihiro Kamae df70743385 aja: Ignore return value from aja-common functions
The functions `aja::lower` and `aja::replace` overwrite the 1st argument
and just return the reference to the 1st argument. It is not necessary
to use the return value.
2023-07-29 16:04:16 -07:00