Commit Graph

11431 Commits (3c3fdc7a7067b9d23e704c8d66cb5fb04013540c)

Author SHA1 Message Date
PatTheMav 3c3fdc7a70 cmake: Fix M1-based OBS.app appearing as being an "iOS" app
MacOS' system information checks the CFBundleSupportedPlatforms value
in the app's property list file for the type. This was correctly set
for plugin bundles, but not binary bundles so far.
2022-08-08 18:54:29 -04:00
PatTheMav 61f862d826 cmake: Fix broken pthread detection on Windows with CMake 3.24
Workaround for CMake issue
https://gitlab.kitware.com/cmake/cmake/-/issues/23829
2022-08-08 15:50:42 -07:00
jpark37 9c77796299 obs-filters: Fix NVIDIA greenscreen issues
Fix non-async sources, make sure math is linear-correct, preserve
incoming alpha, and allow the filter to work in previews.
2022-08-08 15:50:06 -07:00
tytan652 1272209710 obs-scripting: Fix SWIG flags for non-macOS POSIX 2022-08-08 15:00:09 +02:00
cg2121 185dbf5492 UI: Fix ffmpeg path browse button not showing
The ffmpeg path browse button would be hidden in the settings.
2022-08-08 20:44:46 +10:00
derrod 9c20ad9046 obs-ffmpeg: Set NVENC CQP maximum to 51
51 is the actual maximum and especially with HEVC values higher than 30
are actually pretty usable.
2022-08-08 09:24:08 +02:00
Richard Stanway 86963f65d2
libobs, win-capture: Don't export ms_get_obfuscated_func
Since this was included in things like the inject helper and game
capture DLLs, it added an additional export to those programs. Instead,
simply share the source files directly in the projects that need it.

Co-authored-by: jpark37 <jpark37@users.noreply.github.com>
2022-08-07 19:41:23 +02:00
Matt Gajownik 61e0d69779 obs-browser: Update version to 2.18.5
71ef41a - Null check macOS window handle before detaching view
6235dfd - cmake: Remove setting code sign identity for Xcode builds
2022-08-07 15:14:50 +10:00
PatTheMav 8db359d060 cmake: Fix plugin RPATH entry on Linux 2022-08-07 04:06:54 +02:00
Norihiro Kamae c42047cb68 libobs: Fix missing pair of GS_DEBUG_MARKER
The conditional branch added by 4fe6803fe resulted GS_DEBUG_MARKER_END
is not called when the branch condition is failed.
2022-08-06 17:24:56 -07:00
pkv e08632328d obs-filters: Reset RTX greenscreen on cuda error
This resets the RTX greenscreen filter if the FX returns a CUDA error.
In case of a CUDA error 1099, the error can keep repeating locking up
the filter which is inoperant. So if such an error is detected we reset
the FX.

Signed-off-by: pkv <pkv@obsproject.com>
2022-08-06 17:22:03 -07:00
Jim cb051240ff
Merge pull request #6896 from GeorgesStavracas/gbsneto/iconography
Iconography and list styles
2022-08-06 17:12:42 -07:00
Chris f5fe4d0acf obs-ffmpeg: Fix USAGE typo
Replace TRANSCONDING with TRANSCODING, because it is likely that the
typo compatibility will be removed in a future AMF header update. This
should also minimize confusion and improve search.
2022-08-06 20:02:48 -04:00
shiina424 29574b7fd2 win-wasapi: Add missing locale text 2022-08-06 16:58:16 -07:00
Ryan Foster f344c9106b flatpak: Use FFmpeg GitHub mirror
The ffmpeg.org domain has had periods of instability recently. If GitHub
is down, our entire CI is down, so let's use the FFmpeg GitHub mirror.
2022-08-06 19:52:34 -04:00
cg2121 b61cc5de23 UI: Fix spacing with media controls
The spacing in the media controls was set to 0. This only became
noticeable when using the Yami theme, as the buttons have a background
color.
2022-08-06 16:46:47 -07:00
tududweb 9780d2f596 obs-ffmpeg: Remove unused variables for NVENC 2022-08-06 16:45:31 -07:00
tududweb e16f336882 obs-ffmpeg: Reinit before retrying init for NVENC 2022-08-06 16:45:31 -07:00
tududweb 6c364f78cf obs-ffmpeg: Correctly assign argument for NVENC
When retrying again without Psycho Visual Tuning,
the argument psycho_aq should be false.
2022-08-06 16:45:31 -07:00
cg2121 f1f405b170 UI: Fix buttons in settings dialog
- The buttons in the accessibility settings were a fixed height, so
they would be rendered in a undesirable way with the Yami theme.

- Also fixes clear button sizing issues in hotkeys sections
2022-08-06 16:26:26 -07:00
tytan652 d71878cd35 obs-ffmpeg: Add better error if SRT or RIST libraries are not found 2022-08-06 16:18:55 -07:00
jpark37 4fe6803fe4 libobs: Prevent D3D11 projectors from tearing
Some users stream projectors, so don't let them tear. Use the waitable
object to check the flip queue, and only flip if there's space.

Metal and Vulkan can probably perform similar flip throttling once OBS
starts using them.
2022-08-06 16:16:20 -07:00
cg2121 2b4629848d UI: Fix spacer lines not using accessibility color
The spacer helper lines would not use the selection color set in the
accessibility settings.
2022-08-06 16:14:24 -07:00
Monsteer 0c930f52d3
UI: Fix typo "QTestEdit" in Yami
Changed "QTestEdit" with "QTextEdit".
2022-08-07 01:13:56 +02:00
gxalpha 3233c455d1 UI: Make spacing helpers DPI aware
Addition to 76ae9cbc which was made independently of the spacing helpers
introduced in 2d6a9c9c
2022-08-06 16:10:20 -07:00
Timo Gurr a46cc43e6f test: Only build osx tests for OS_MACOS
Fixes CMake build error on Linux:

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
COCOA (ADVANCED)
    linked by target "macOS_test" in directory /var/tmp/paludis/build/media-video-obs-studio-28.0.0-beta1/work/obs-studio-28.0.0-beta1/test/osx
2022-08-06 16:07:17 -07:00
Norihiro Kamae e7c00890f6 UI: Increase maximum limit of automatic file splitting 2022-08-06 16:06:17 -07:00
Ed Maste 39269a7ae9 cmake: fix default version if `git describe` fails
If the `git describe` command fails we want to fall back to a default
version.  _OBS_DEFAULT_VERSION is not in the same format as the string
returned by `git describe` though.  In the event that the command fails
just use _OBS_DEFAULT_VERSION directly rather than trying to parse it.

Fixes: cmake fails if git is not installed but .git/ exists #6940
2022-08-07 00:51:01 +02:00
columbarius 76e9c64f41 Revert "linux-capture: Fix Ubuntu 21.10 builds"
This reverts commit 0532a5c1f0.

Ubuntu 21.10 is from OBS 28 onwards not longer supported and as such we
can raise the requirement of the PipeWire dependency to 0.3.33.
2022-08-06 09:28:58 -03:00
gxalpha a1e8075fba UI: Unregister file splitting hotkey when clearing hotkeys 2022-08-06 10:25:10 +10:00
Vainock e6a03be487 obs-ffmpeg, obs-transitions: Use property suffixes 2022-08-06 10:23:26 +10:00
gxalpha 405f5123c1 UI: Don't hardcode margins in lineedit-autoresize 2022-08-06 10:22:25 +10:00
gxalpha 9f370bd36e mac-capture: Show "hidden" checkbox for app capture on update as well 2022-08-04 00:44:29 +02:00
derrod 84ebd7ac67 CI: Fix Flathub workflow tag validation 2022-08-03 09:02:26 -03:00
derrod 9ba1426204 CI: Fix Steam workflow for APFS DMGs 2022-08-03 03:54:11 +02:00
derrod 3c41697b42 CI: Update Steam workflow for Apple Silicon builds 2022-08-03 03:34:49 +02:00
derrod 4a64b2aae6 CI: Fix checking xcode url secret availability
Apparently this doesn't work in "if" clauses.
2022-08-03 01:44:23 +02:00
PatTheMav 24a123119a obs-scripting: Fix issues between runtime and compile-time versions
Calling `PyEval_InitThreads` has been deprecated in Python 3.7 and the
function itself will be removed in Python 3.11. The current check
guards this function behind a version check that only happens at compile
time.

This in turn leads to crashes when run on Python 3.6, as the necessary
initialization for `PyEval_ReleaseThread` did not take place.

This commit ensures the manual initialization takes place based on the
runtime version of Python and avoids loading the associated symbols
on Python 3.9 or later.
2022-08-02 19:36:50 -04:00
derrod be68403fa4 CI: Install Xcode 14 beta for tagged builds 2022-08-03 01:35:52 +02:00
Paul Hindt 44acdd68b0 aja: Fix output of garbage video during preroll
Add additional logging of card frame counts/indices
2022-08-02 09:46:58 -07:00
davids 33081419e7 aja: Adjust delay when sending frames to card
The plugin will try to maintain a hardware queue depth of 4 frames,

adjusting video and audio delay dynamically.
2022-08-02 09:46:58 -07:00
shiina424 b247a401c9 UI: Add missing Icon in Acri theme
accessibility and interact icons is missing.
2022-08-02 09:46:36 -07:00
shiina424 f58a28da33 UI: Add missing Icon in Rachni theme
accessibility and interact icons is missing.
2022-08-02 09:46:20 -07:00
gxalpha 1a170f4c94 UI: Properly store manual file splitting type 2022-08-02 09:43:15 -07:00
tytan652 8989cf5caf rtmp-services: Remove useless supported codec field
We normally default to H264 onlt and AAC only if nothing is set.
2022-08-02 09:41:32 -07:00
tytan652 96eb14af47 rtmp-services: Add fallback to H264 if no supported codec found 2022-08-02 09:41:32 -07:00
tytan652 0283fd2c71 rtmp-services: Fix incompatible-pointer-types warnings 2022-08-02 09:41:32 -07:00
Georges Basile Stavracas Neto b74b5fec65 UI: Make audio icons consistent
Force them to align to a 16x16 pixel grid, and match the style of
other icons in the main UI.
2022-08-02 09:27:00 -03:00
Georges Basile Stavracas Neto 2de20ac00d UI: Revamp empty state of SourcesTree
The empty state of the SourcesTree widget looks rather busy, with
multiple icons and text without spacing. Revamp that state to use
a single, faded-out, 32px icon, add some spacing between the icon
and the text, and put the icon above the text.
2022-08-02 09:27:00 -03:00
Georges Basile Stavracas Neto 3f3cf02d2a UI: Remove 1px spacer from SourceTree
With the new icons, this extra spacer is not necessary.
2022-08-02 09:27:00 -03:00