Commit graph

12,762 commits

Author SHA1 Message Date
derrod
809feb3ddf deps/obs-scripting: Set file/chunk name when loading lua scripts 2023-05-26 14:47:09 -04:00
田七不甜
96db6187ad UI: Fix scene grid mode button color 2023-05-26 14:47:09 -04:00
田七不甜
6d01b0c635 UI: Normalize theme qss files 2023-05-26 14:47:09 -04:00
Richard Stanway
d2019b92d4 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-26 14:47:09 -04:00
Florian Zwoch
eb80be5bf9 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-26 14:47:09 -04:00
derrod
e55171f28c UI: Reset service selection to custom if name not found 2023-05-23 04:22:03 -07:00
jp9000
abb8057135 libobs: Update version to 29.1.1 29.1.1 2023-05-08 22:31:59 -07:00
PatTheMav
229616af16 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.

(cherry picked from commit efbae916fb)
2023-05-08 15:49:34 -07:00
tytan652
40fdec218c UI: Avoid registering CEF OAuth integrations on Wayland
(cherry picked from commit 169cd07c42)
2023-05-08 15:49:34 -07:00
gxalpha
00f1ec8538 obs-websocket: Update submodule to pull translations
(cherry picked from commit d63ed016b4)
2023-05-08 15:49:34 -07:00
derrod
2128de7fdf UI: Exit and show error if clearing scene data fails
(cherry picked from commit 4419786840)
2023-05-08 15:49:34 -07:00
jpark37
fba8618675 libobs: Fix luma sampling for packed 4:2:2 sources
(cherry picked from commit 7ff5dd63b9)
2023-05-08 15:49:34 -07:00
tytan652
e3ad8cb878 docs: Add missing elements in Services API
(cherry picked from commit 3a16a6c836)
2023-05-08 15:49:34 -07:00
田七不甜
d775f5bdc1 UI: Make "Portable Mode" translateable
(cherry picked from commit e1a202b370)
2023-05-08 15:49:34 -07:00
PatTheMav
cf2af3a5b4 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.

(cherry picked from commit f1c7296ac2)
2023-05-08 15:49:34 -07:00
PatTheMav
a3c275c9da 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.

(cherry picked from commit f20f788d0b)
2023-05-08 15:49:34 -07:00
derrod
81e614cc4d UI: Do not show unassigned icon for monitored sources
(cherry picked from commit 982c424de3)
2023-05-08 15:49:34 -07:00
tytan652
ea826adee1 cmake: Enforce -Wmaybe-uninitialized to never turn into an error
(cherry picked from commit 12ad59f31f)
2023-05-08 15:49:34 -07:00
Richard Stanway
b9a95b2f5f obs-ffmpeg: Show error if trying to use AV1 fallback
(cherry picked from commit ba0c273846)
2023-05-08 15:49:34 -07:00
derrod
a0f10048fa UI: Fix FLAC missing from builtin codecs list
(cherry picked from commit 0c0ec90eac)
2023-05-08 15:49:34 -07:00
Richard Stanway
2e04c3619b UI: Relax mc_trans_video_imagescaler.dll DLL block
This is actually a MainConcept redistributable and not related to Adobe.
Unfortunately Elgato Game Capture HD software relies on this dependency
when presenting the DirectShow device to OBS, so we unintentionally
blocked it from loading.

Instead of outright blocking, we now block only older versions than the
version shipped by Elgato, which has hopefully been patched to fix the
random crashes.

(cherry picked from commit 132f0b85fc)
2023-05-08 15:49:34 -07:00
Vainock
6fc3619473 UI: Fix case inconsistency in translation key
[skip crowdin-sync]

(cherry picked from commit e23b80151b)
2023-05-08 15:49:34 -07:00
jp9000
34e3d64158 libobs: Update version to 29.1.0 29.1.0 2023-05-02 01:54:35 -07:00
Jim
8dbc4761a3 linux-pipewire: Reduce debug message verbosity 2023-05-02 01:50:13 -07:00
Translation Updater
a0fbdc3c34 Update translations from Crowdin 2023-05-01 23:11:13 +00:00
Ryan Foster
c0adff2863 obs-qsv11: Set error message for QSV with P216/P416
If P216 or P416 color formats are selected with QSV, these color formats
were not explicitly handled, so the switch statements would end up in
the default case. If the user had also selected a Rec. 2100 color space,
this would result in the strange error message:
"OBS does not support 8-bit output of Rec. 2100."

This message is confusing and does not correctly reflect the chosen
settings. Let's explicitly handle the P216/P416 cases and provide a more
accurate error message.
2023-05-01 18:45:32 -04:00
Ryan Foster
877c1c74d0 obs-ffmpeg: Set error message for AMF with P216/P416
If P216 or P416 color formats are selected with AMF, these color formats
were not explicitly handled, so the switch statements would end up in
the default case. If the user had also selected a Rec. 2100 color space,
this would result in the strange error message:
"OBS does not support 8-bit output of Rec. 2100."

This message is confusing and does not correctly reflect the chosen
settings. Let's explicitly handle the P216/P416 cases and provide a more
accurate error message.
2023-05-01 18:45:32 -04:00
Ryan Foster
19cec08494 obs-ffmpeg: Set error message for NVENC with P216/P416
If P216 or P416 color formats are selected with NVENC, OBS will fall
back from the native implementation to the FFmpeg implementation. Here,
P216 and P416 were not explicitly handled, so the switch statements
would end up in the default case. If the user had also selected a Rec.
2100 color space, this would result in the strange error message:
"OBS does not support 8-bit output of Rec. 2100."

This message is confusing and does not correctly reflect the chosen
settings. Let's explicitly handle the P216/P416 cases and provide a more
accurate error message.
2023-05-01 18:45:32 -04:00
derrod
0be8d8a28d UI: Fix building macOS/Sparkle without Browser 2023-05-01 10:45:08 -04:00
Richard Stanway
b9ef64d4eb deps/media-playback: Check if frame can be played before using it
It's possible that frame_ready is false when this function is called,
which implies that the mp_decode frame field is not valid. However we
dereference the frame by counting the number of audio channels before
checking the value of frame_ready, causing a crash.
2023-04-30 16:23:16 -07:00
gxalpha
2ac3767e7a obs-x264: Disallow 16-bit color formats 2023-04-29 16:17:26 -07:00
gxalpha
1c15066cc4 mac-videotoolbox: Differentiate unsupported format and range errors 2023-04-29 16:15:42 -07:00
derrod
4a8e8644e0 cmake,UI: Remove unused legacy DSA public key 2023-04-29 16:10:45 -07:00
gxalpha
1437a6e4fc UI: Explicitly focus Ok button in properties dialog 2023-04-29 16:07:38 -07:00
PatTheMav
f1aba10dc0 cmake: Fix version detection for FFmpeg find module 2023-04-29 16:06:33 -07:00
Richard Stanway
7ceb39bd56 deps/media-playback: Initialize mutex earlier for cached media
mp_cache_stop / mp_cache_free both try to use the mutex so we need to
make sure it's initialized before calling functions that may fail.
2023-04-29 11:30:01 -07:00
Service Checker
dba6544265 rtmp-services: Remove defunct servers/services 2023-04-27 15:21:40 +02:00
derrod
2e1680235e .github: Add workflow to clean caches 2023-04-26 22:03:01 +02:00
derrod
d600955f7d CI: Switch service checker to macOS 2023-04-26 22:01:26 +02:00
Adam Taylor
c25b81886d obs-filters: Add invert LUT 29.1.0-rc1 2023-04-24 12:35:47 -07:00
tytan652
ac241faff1 rtmp-services: Fix building with service updates disabled
Two constants are marked as -Wunused-variable which turns into an error
2023-04-24 12:04:11 -07:00
tytan652
15e0064179 rtmp-services: Enable service updates by default
Fix an oversight of 1f6cf34c2c

Which turns off by default service updates on any *nix
2023-04-24 12:02:57 -07:00
tytan652
c53a1b4fb0 media-playback: Add missing license headers 2023-04-24 03:50:40 -07:00
tytan652
2b4ef6d6ea UI: Fix advanced audio encoder bitrate always set to 192
Audio bitrate maps needs to be populated while finding closest available
bitrate

Not populating makes always fallback to 192
2023-04-23 23:47:32 -07:00
tt2468
1f6cf34c2c rtmp-services: Allow service updates to be disabled on *nix
Effectively reverts 8b315186a7, as the
cmake referenced in the description has long since been completely
rewritten and replaced.
2023-04-23 23:47:09 -07:00
jpark37
901986cbf4 libobs,obs-filters: Align HDR to SDR disparity
Adjust colors from BT.1886 to sRGB.
2023-04-23 23:43:09 -07:00
Kasin Sparks
b645ea6c5f libobs: Fix mouse button push to talk for linux
Fixes issue with mouse buttons 4 and 5 not working for push to talk
when using linux
2023-04-23 23:41:41 -07:00
Kurt Kartaltepe
f0f704249f linux-pipewire: Only consider chunks with size set
Compositors did not agree on how to communicate invalid buffers until
recently, so e0a4d8628d resulted in
regressions on KDE. This restores our old behavior which is too
conservative but mostly works on old and new compositors (which contain
similar workarounds to pass in invalid but non-zero sizes for dma-bufs).

Once all old compositors are out of use we can remove this workaround
and then compositors can remove their random size workaround.
2023-04-22 16:45:50 -07:00
gxalpha
9da4a37cbc docs: Remove obs_sceneitem_group_from_scene/source
These function were removed in 35704c4 (and never got into a release).
2023-04-22 16:44:28 -07:00
WarmUpTill
0d6588fa8c docs: Fix obs_frontend_get_scene_collections() description 2023-04-22 16:43:07 -07:00