0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 13:08:50 +02:00
Commit Graph

13563 Commits

Author SHA1 Message Date
cg2121
5dc670f83b docs: Add version added to filter index functions
These functions were added with OBS 30.0.0
2023-08-26 16:10:33 -07:00
PatTheMav
4d7d5103b6
CI: Fix typos in scheduled nightly run workflow 2023-08-26 23:09:25 +02:00
Ihor Kalnytskyi
08f5a7bd4d UI: Fix crash in YoutubeAuth
YoutubeAuth::chat is a raw pointer that is uninitialized. Most of the
time it doesn't matter, since the object it points to is created at the
application start. However, in case of Wayland (Linux), CEF is not
initialized (because it's not supported) and the chat object will never
get created.

This patch fixes crash on Wayland by initializing `chat` to `nullptr`.

Co-authored-by: Roman Podoliaka <roman.podoliaka@gmail.com>
2023-08-25 19:10:06 -04:00
PatTheMav
35f79d62c7 CI: Fix scheduled language file upload
Shell script has to be based on bash, copied code was based on macOS
and Zsh instead.
2023-08-25 11:40:02 -04:00
Ryan Foster
2bf0a800d3 cmake: Restrict FindCEF path to omit default paths on Windows
On Windows, if CEF libraries were present in default paths, they would
be picked up in this find_program call, and it could later cause a build
failure in the CMake custom copy commands on install if the components
we are trying to copy do not exist. I recently ran into this after
installing Intel PresentMon, which included CEF components, and was
picked up by this find_program call. Let's apply NO_DEFAULT_PATH here
the same as the find_library calls in this finder.
2023-08-25 10:36:16 -04:00
Zhao Zhili
075f3c4020 obs-x264: refactor log callback
1. Remove limitation of message length.
2. Improve performance by remove the local copy.
3. Map x264 log level to obs.
2023-08-24 13:54:48 -07:00
Zhao Zhili
5c0a018628 obs-x264: Remove unused getparam() function 2023-08-24 13:54:48 -07:00
Lain
867938cd9d libobs: Do not hide OBS_NIX_PLATFORM_WAYLAND behind ifdef
Really no reason to make it so this value can't be used.

Fixes obsproject/obs-studio#9454
2023-08-24 13:32:33 -07:00
PatTheMav
c6b05ff393 CI: Add brute-force workaround for macOS disk image creation failure
Suggestion by GitHub's macOS image maintainer is to kill
XProtectBehaviourService when "Resource busy" error occurs on macOS 13
runners.
2023-08-24 16:08:03 -04:00
Norihiro Kamae
cdced774e8 Revert "UI: Support DnD overlay in linuxbrowser"
This reverts commit aeed4a3aa1.
The source type `browser_source` is now available for all supported
platforms so we don't need to fallback to `linuxbrowser-source`.
2023-08-24 15:20:36 -04:00
PatTheMav
37773b036a CI: Remove concurrency limits for push workflow 2023-08-24 14:46:30 -04:00
PatTheMav
7b5ea3de40 CI: Remove language file upload from push workflow 2023-08-24 14:46:30 -04:00
PatTheMav
56e386912e CI: Add nightly upload of changed language files 2023-08-24 14:46:30 -04:00
tytan652
a4bef329c2 UI: Replace remaining enc-amf reference
Since enc-amf was removed, this reference causes issue by flagging H264
AMF as unsupported forcing a fallback to x264.
2023-08-22 14:24:46 -04:00
cg2121
b19f922747 UI: Fix alignment of status bar message
The status bar message was not vertically aligned properly to
other widgets in the status bar. We have to implement our own
message system here, as the default status bar in Qt has hardcoded
paddings.
2023-08-21 17:46:25 -03:00
cg2121
610990270f UI: Center vertical volume control buttons
The mute and config buttons were not vertically centered.
2023-08-21 17:38:31 -03:00
Norihiro Kamae
b2a8e0a99b UI: Use the latest version when dropping files 2023-08-21 07:23:09 -07:00
gxalpha
b3485dd354 cmake: Mark source lists in feature files sortable 2023-08-19 16:57:21 -07:00
tytan652
2bb7aea9e2 Add YAML and ZSH spacing in editorconfig 2023-08-19 16:56:29 -07:00
tytan652
ca3dabec35 CI: Enforce the use of Ubuntu's CMake
Github provides a more recent version in /usr/local

Also adds ZSH and YAML files spacing in editorconfig file
2023-08-19 16:56:29 -07:00
Wooster
655cc23d7f UI: Fix capitalization of "WebSocket" 2023-08-19 16:45:16 -07:00
pkv
737b21230d obs-filters: Add a mutex when running NVIDIA Audio FX
This fixes a bug when swapping NVIDIA effects.
The update signal triggers a destruction of the previous effect, but the
effect would still run, potentially causing a crash.
The mutex added in the NVIDIA processing function prevents that.

Signed-off-by: pkv <pkv@obsproject.com>
2023-08-19 16:44:11 -07:00
derrod
3c28903979 UI: Log if user is ignoring service limits 2023-08-19 16:37:08 -07:00
derrod
ceb18e3665 CI: Specify tag for Steam action on release 2023-08-19 16:24:42 -04:00
derrod
4c51c99d28 cmake: Parse beta/rc version from override/git describe 2023-08-19 17:12:50 +02:00
Richard Stanway
609b1ab011 obs-qsv11: Fix crash in QSV test process
The code assumed MFXCreateSession would always succeed, but it fails on
systems with no QSV implementations, causing a crash when we call
MFXClose later. Additional success checks for the other API calls were
also added.
2023-08-18 17:55:00 -07:00
tytan652
8ace9e651c build-aux: Enable QSV encoders on Flatpak 2023-08-18 22:30:01 +02:00
Lain
a44ab2efcc UI: Add timer to NewYouTubeAppDock()
CEF apparently doesn't like it and is unable to handle when you
destroy/recreate CEF instances very quickly, so... let's just put a
timer on this insanely terrible function. I guess. Whatever.
2023-08-18 11:28:16 -07:00
Ed Maste
677c557243 CI: Bump FreeBSD version to supported release: 13.2
FreeBSD 13.1 is EOL.
2023-08-18 13:14:58 -04:00
derrod
4e5be319e4 UI: Move restart to end of main() 2023-08-18 07:16:41 -07:00
Service Checker
6640d973b3 rtmp-services: Remove defunct servers/services 2023-08-18 12:33:34 +02:00
Lain
b8d85d84a4 UI: Fix potential null pointer dereference
If you're using an encoder from a plugin, and you remove that plugin,
this value will be null, causing a crash. (Lain note: I realize that
this isn't the best solution to this problem, though there really isn't
any way to infer what type of encoder the prior encoder was. Should also
save the encoder type as additional setting metadata in future
versions.)
2023-08-17 17:06:24 -07:00
Norihiro Kamae
ad740735d2 UI: Fix memory leak in OBSQTDisplay
In my previous commit fd502cbd4, SurfaceEventFilter was not destroyed
and caused memory leaks.
2023-08-17 11:46:28 -07:00
Ryan Foster
8e66cb823c CI: Fix Sparkle appcast release note generation
The current steps attempted to remove SSH signatures from signed git
commits/tags by making the release notes string into a single line,
running sed, then restoring the newlines. However, this resulted in all
n characters being missing from the resulting output. We can use targeted
git ref format specifiers instead of trying to use sed.

https://git-scm.com/docs/git-for-each-ref/2.41.0#Documentation/git-for-each-ref.txt-contentssubject
https://git-scm.com/docs/git-for-each-ref/2.41.0#Documentation/git-for-each-ref.txt-contentsbody
2023-08-17 14:39:26 -04:00
Kurt Kartaltepe
32c07929b0 obs-qsv11: Drop Windows guards on LowPower settings
Setting AdaptiveCQM to ON when LowPower is OFF crashes the
intel-oneapi-gpu implementation on Linux when using the AV1 encoder.
But using the same LowPower settings as Windows works so lets drop the
current guards.
2023-08-17 10:27:16 -04:00
derrod
4a7b278a23 CI: Fix Steam Playtest upload 2023-08-17 09:12:49 -04:00
tytan652
595306cd54 docs: Fix obs_frontend_add_dock deprecation version 2023-08-17 04:54:01 -07:00
pkv
79232c3cec obs-filters: Update NVIDIA Effects SDK versions
We need to check for new versions of the NVIDIA Effects redistributables
because mismatched versions of the AUDIO and VIDEO sdk can have
different CUDA versions of the deps, which has caused crashes in obs.
It'd be way better that NVIDIA either ships a single installer with both
audio and video effects or that they auto-install with the drivers.
But meanwhile, we provide a warning to users which requires us to keep
in sync with what's released.

Signed-off-by: pkv <pkv@obsproject.com>
2023-08-17 03:37:30 -07:00
PatTheMav
1ce5010b25 CI: Update dispatch workflob jobs for documentation updates
generate-docs action does not require a commitHash (it discovers this
value automatically) and redirects do not need to be set up anymore
as the old documentation pages have been removed.
2023-08-16 18:33:51 -04:00
PatTheMav
ea8ea39e29 CI: Fix checkers tripping over empty GitHub Actions references
When the internal git reference is nonexistent, GitHub Actions seems
to convert that value into a hash made up of only zeroes. As that
hash will be commit-ish it will pass verification.

git cat-file will fail if the provided reference cannot be resolved
in the repository so should be the safer choice.
2023-08-16 18:33:51 -04:00
PatTheMav
3a347fe327 CI: Fix push workflow checking for ref name instead of type
Documentation should always be updated on a tag push, hence why the
check should be skipped, but requires checking the type rather than
the name.
2023-08-16 18:33:51 -04:00
PatTheMav
abd29b9760 CI: Use older compression and file system for macOS disk image
Using older file system (HFS+ instead of APFS) and compression
(lzfse instead of lzma) allows the disk image to be opened on older
versions of macOS, avoiding the cryptic error message that users
are greeted with otherwise.

This is a temporary fix for the still-alive installed base of
Intel-based Macs.
2023-08-16 16:01:55 -04:00
PatTheMav
c1da220ca5 CI: Use more explicit check for valid git reference in check actions 2023-08-16 16:01:55 -04:00
PatTheMav
4654b93168 CI: Do not cancel concurrent workflow runs for pushes to master 2023-08-16 16:01:55 -04:00
Kurt Kartaltepe
b6b8f5b80a obs-qsv11: Fix VPL initialization on intel-mediaSDK
VPL does not have a consistent initialization process for the various
backends it dispatches to. So this resolves the new VPL dispatcher
failing to initialize the video session when it dispatches to
intel-mediaSDK backend. On the oneVPL-intel-gpu backend VA-API sessions
are correctly initialized so this wasnt noticed when tested on newer
hardware.
2023-08-16 15:40:02 -04:00
Kurt Kartaltepe
4d3f9323b5 obs-qsv11: Fix InitParams low power fallback 2023-08-16 15:40:02 -04:00
Lain
45e7334206 libobs: Fix shader fix not working on D3D11
In c8d95005c1, it was incorrect assumed that just because the fix
worked on OpenGL, that the fix would also work on D3D11. Automated tests
would be ideal here, although if there were automated tests, ironically,
it wouldn't have picked this up, because we (read: I) made D3D11 fall
back to OpenGL of D3D11 failed. Basically there is no one to blame but
myself again.

This time, we've removed the OpenGL fallback in a06d6893b9 (thank you
Rodney), and additionally I properly tested on both rendering backends.

(Lain note: I'm just going to go sit in the corner for a bit and
ruminate after this)
2023-08-16 11:19:08 -07:00
derrod
a06d6893b9 UI: Remove silent OpenGL fallback on Windows 2023-08-16 11:03:00 -07:00
Jimi Huotari
f83b0d93f1 UI: Fix compiling without nlohmann JSON
After commit 8955338624, 'UI/update/models/whatsnew.hpp' is included
unconditionally, even with 'ENABLE_WHATSNEW=OFF', which breaks
building OBS Studio without nlohmann JSON.
2023-08-16 19:43:46 +02:00
Lain
c8d95005c1 UI: Fix unnecessary GetCurrentScene() call
Missed this with the parent commit; the scene variable is now already
available, thus there is no need to call GetCurrentScene() twice.
2023-08-15 17:20:44 -07:00