Commit Graph
12794 Commits
Author SHA1 Message Date
gxalpha 0cc7ea7a2a mac-videotoolbox: Fix incorrect keyframe interval calculation 2023-05-18 18:28:53 -04:00
gxalpha f6b6873aaa UI: Re-raise missing files dialog on macOS after file is selected 2023-05-18 18:07:12 -04:00
田七不甜 e1b02e5b8a UI: Remove tabs for About error statements
And change error statements to translation key
2023-05-18 16:13:59 -04:00
PatTheMav 3c28d3a2bc cmake: Remove use of CPack and generate packaging AppleScript directly 2023-05-18 14:41:08 -04:00
PatTheMav 292191e980 CI: Update workflow to support provisioning profiles for macOS 2023-05-18 14:41:08 -04:00
PatTheMav d3ccf1b889 UI: Add support for error messages from the Virtual Camera system 2023-05-18 14:41:08 -04:00
PatTheMav 3f85e447a8 mac-virtualcam: Add Camera Extension to main CMake plugin project
Camera Extensions require specific entitlements for the hosting app,
which also require a provisioning profile. To avoid breaking local
builds that do not require the camera extension, an additional
entitlements file that will not trigger the provisioning profile
requirement will be used if the virtualcam (but not the Camera
Extension) is configured.
2023-05-18 14:41:08 -04:00
gxalphaandPatTheMav aae2f7e8ff mac-virtualcam: Update obs-plugin to support macOS camera extensions
Co-authored-by: PatTheMav <PatTheMav@users.noreply.github.com>
2023-05-18 14:41:08 -04:00
gxalphaandPatTheMav 5c6e471a56 mac-virtualcam: Add macOS camera extension project
Co-authored-by: PatTheMav <PatTheMav@users.noreply.github.com>
2023-05-18 14:41:08 -04:00
columbarius 155fb8ad8f linux-pipewire: Support colour format GS_R10G10B10A2
PipeWire supports 10bit colour formats with little endian order.

Adding two new formats required increasing the buffer size for building
PipeWire buffers.

This formats are supported since PipeWire 0.3.41. To allow building
against
older PipeWire versions we will hide those formats. Complications when
running on a host with an older PipeWire version are not expected, since
format negotiation is only done via the numerical values.
2023-05-17 16:35:43 -03:00
PatTheMav e52256184a libobs: Adds obs.hpp to exported header files
Required for plugins built using C++ linking against libobs.
2023-05-17 11:47:08 -04:00
gxalpha 323c7e0980 .gitignore: Add CMakeUserPresets.json 2023-05-16 13:17:26 +02:00
tt2468 645e31fa15 libobs: Add sanity checks to some obs_output_t functions
Since OBS outputs can have any combination of flags for encoded,
video, audio, and service, there are a number of cases where it would
be a good idea to validate that we're not allowing output changes that
risk undefined behavior given the supported flags.

This also does a mild amount of code cleanup, adding inline functions
for checking the flags mentioned above.
2023-05-13 18:26:52 -07:00
tytan652 0c827d9791 build-aux: Replace app-id by id in the Flatpak manifest
The former is deprecated.
2023-05-13 18:26:17 -07:00
tytan652 c28c5333fc build-aux,CI: Add format to Flatpak manifest
- Change Flatpak manifest indent size to 4
- Add a Python script to format manifest files
- Add editorconfig for Flatpak JSONs and Python files
2023-05-13 18:26:17 -07:00
tytan652 904fe87f83 build-aux,CI: Split Flatpak manifest in multiple files
Also moves Flatpak manifest to build-aux folder
2023-05-13 18:26:17 -07:00
gxalpha 2ab326d2cd UI: Redirect Qt log messages to OBS log 2023-05-13 17:09:32 -07:00
tytan652 6e887f8158 obs-ffmpeg,cmake: Replace external folder by obs-deps headers 2023-05-13 17:06:39 -07:00
PatTheMav 69a0cd2910 obs-scripting: Replace macro with plain C code
Instead of using a non-debuggable macro function, keep function
references and desired function names in a static array that can then
be iterated over to add desired functions.

This allows for proper debugging as well as makes the combination of
function and function name more explicit.
2023-05-13 17:00:30 -07:00
PatTheMav f7ec81ca12 obs-outputs: Fix keychain API deprecation warnings on macOS 2023-05-13 16:59:42 -07:00
PatTheMav beab803599 UI: Add ellipses to menu item triggering user choice (per Apple HIG) 2023-05-13 16:57:30 -07:00
PatTheMav d2ea998f49 UI: Use native ObjectiveC methods to generate data file paths 2023-05-13 16:57:30 -07:00
PatTheMav 9581ebe7fd libobs: Remove support for deprecated MACH task info struct 2023-05-13 16:56:11 -07:00
PatTheMav ee1ec26de3 libobs: Use native ObjectiveC methods to generate data and module paths 2023-05-13 16:56:11 -07:00
PatTheMav 585152c566 mac-capture: Add option to hide OBS windows in desktop capture 2023-05-13 16:55:11 -07:00
derrod 2918d77e58 UI: Process Qt events once after destroy queue finishes 2023-05-13 16:53:17 -07:00
derrod 1c3ae0707c UI: Only update vcam output if necessary 2023-05-13 16:51:11 -07:00
derrod 14a6673e2f UI: Reset VCam when clearing scene data 2023-05-13 16:51:11 -07:00
gxalpha 96f1eec735 UI: Clean up disabling simpleFlvTracks
Since this widget is disabled every time it's shown and we're not
enabling this anywhere, it can just be disabled in the UI form.
2023-05-13 16:49:26 -07:00
derrod 82137de0bb deps/obs-scripting: Set file/chunk name when loading lua scripts 2023-05-13 16:45:47 -07:00
Norihiro Kamae 43c7742f8b CI: Download Qt5 conditionally on Linux
Qt6 libraries are installed if the package is available on the system.
Uses the inverted condition to install Qt5 libraries to avoid
unnecessarily install both libraries.
2023-05-13 16:44:45 -07:00
田七不甜 229236e821 UI: Fix scene grid mode button color 2023-05-13 16:42:38 -07:00
田七不甜 90843221e6 UI: Normalize theme qss files 2023-05-13 16:42:38 -07:00
田七不甜 c7f8b19792 .editorconfig: Add theme qss 2023-05-13 16:42:38 -07:00
Richard Stanway 4176f9b13a UI: Fix crash when double-clicking projector
If "transition on double click" was enabled, OBS assumed all double
clicks were going to multiview projectors, which isn't necessarily the
case.
2023-05-13 16:38:09 -07:00
Florian Zwoch 8b816eba8e obs-ffmpeg: Fix compilation when ENABLE_HEVC is not set
When ENABLE_HEVC is not set the 'bool hevc' function parameter
is not being used in this function causing a warning and aborting
compilation.
2023-05-13 16:12:25 -07:00
Norihiro Kamae 73ac512cab test: Cover all array_output_serializer functions 2023-05-13 16:04:16 -07:00
jp9000 c289efd84a libobs: Update version to 29.1.1 2023-05-08 22:31:35 -07:00
PatTheMav efbae916fb UI: Fix crash on macOS when closing OAUTH browser panel
Deleting the cefWidget in the panel's destructor can result in a crash
on macOS because the underlying NSView might have been destroyed in
memory between Qt closing the QDialog and the destructor call.

Moving the browser destruction into the accept and reject calls ensures
that CEF can clean up its state _before_ Qt tears down the view
hierarchy.
2023-05-08 18:22:27 -04:00
tytan652 169cd07c42 UI: Avoid registering CEF OAuth integrations on Wayland 2023-05-07 13:51:52 -07:00
gxalpha d63ed016b4 obs-websocket: Update submodule to pull translations 2023-05-07 11:11:12 -07:00
derrod 4419786840 UI: Exit and show error if clearing scene data fails 2023-05-07 11:03:53 -07:00
jpark37 7ff5dd63b9 libobs: Fix luma sampling for packed 4:2:2 sources 2023-05-06 16:31:06 -07:00
tytan652 3a16a6c836 docs: Add missing elements in Services API 2023-05-06 16:24:52 -07:00
gxalpha be42d97315 mac-syphon: Remove macOS 10.15-only code
The minimum version of macOS for OBS is 11.0 now, so this can be removed
2023-05-06 16:24:20 -07:00
田七不甜 e1a202b370 UI: Make "Portable Mode" translateable 2023-05-06 16:21:56 -07:00
PatTheMav f1c7296ac2 CI: Update ccache cache entries to enable restoration from master branch
Current caching steps do not use a coarse restore key to enable cache
restoration from a possible master cache. This is a forward-port of a
future CI workflow update that uses the same cache key logic.

Also fixes missing generator token for cache keys generated by master
branch.
2023-05-06 16:20:10 -07:00
PatTheMav f20f788d0b mac-capture: Fix possible division by zero error
Possibility of `mChannelsPerFrame` being 0 is not properly covered by
current code, which will result in a division-by-zero error.
2023-05-06 16:15:30 -07:00
derrod 982c424de3 UI: Do not show unassigned icon for monitored sources 2023-05-05 17:38:34 -04:00
tytan652 12ad59f31f cmake: Enforce -Wmaybe-uninitialized to never turn into an error 2023-05-05 16:46:59 -04:00