Ryan Foster
0a93acbc86
UI: Fix memory leak in Auto-Configuration Wizard
...
If streaming and recording was selected in the Auto-Configuration
Wizard, a memory leak would occur. When obs_service_resolution appeared
elsewhere in C++ files, it used a BPtr. Use BPtr here too.
2022-01-15 22:24:00 -05:00
Richard Stanway
a3c97dfad2
libobs-opengl: Miscellaneous static analysis fixes
...
Detected by PVS Studio.
2022-01-15 23:02:38 +00:00
Paul Hindt
9728345bf4
aja: Fix signal routing for 4xSDI UHD/4K RGB 3Gb
...
Crosspoint indices were wrong for the UHD4K_ST425_Quad_3Gb_Squares_RGB_Capture preset and VPID was not being set for the selected 3G-Level B transport mode.
2022-01-15 15:30:58 -06:00
Paul Hindt
9c9efcd04d
aja: Fix erroneous HDMI input selection for certain cards
2022-01-15 15:29:39 -06:00
Paul Hindt
3e07c29ec3
aja: Rename IOSelection strings for HDMI and Analog
2022-01-15 15:29:39 -06:00
Paul Hindt
87ce26cfca
aja: Fix Kona1 not auto-detecting capture pixel format
2022-01-15 15:28:16 -06:00
pkv
50aec9c2a0
media-playback: Fix rist demuxing
...
We currently pass a 'buffer_size' option to avformat in bytes.
Unfortunately, avformat/librist.c admits an option with the same name but in milliseconds.
The default values set in the UI (2 MB) go beyond the range admitted in ms (0-30 000)
so avformat issues errors.
This fix disables the option when rist protocol is detected.
Signed-off-by: pkv <pkv@obsproject.com >
2022-01-14 20:50:14 -08:00
Ryan Foster
a7d3df3763
linux-v4l2: Fix timeout logging
...
The timeout_usec variable is uint64_t, but the log format was set to %ld
(signed long int), so it would sometimes log a nonsensical value. Let's
use $PRIu64 instead, which should be equivalent to %llu (unsigned long
long int).
Fixes #5797 .
2022-01-14 20:43:25 -08:00
Richard Stanway
3240b05cec
libobs-d3d11: Fix formatting
2022-01-15 00:38:02 +01:00
Richard Stanway
dccf569982
libobs: Specify format string for bcrash
...
Detected by PVS Studio.
2022-01-15 00:31:31 +01:00
Richard Stanway
42fc705333
obs-filters: Fix incorrect format string
...
Detected by PVS Studio.
2022-01-15 00:17:02 +01:00
Richard Stanway
74b5bed116
libobs-d3d11: Fix incorrect format string
...
Detected by PVS Studio.
2022-01-15 00:16:39 +01:00
tytan652
30b8987bad
libobs: Fix type mismatch on obs_property_text_monospace
2022-01-14 21:02:29 +11:00
derrod
eb62162d50
UI: Log YouTube API HTTP request errors
2022-01-13 23:07:45 +01:00
Paul Hindt
cb51c974f4
aja: Fix Kona5/io4K+ 6G/12G-SDI routing and RGB HD-DualLink routing
2022-01-13 13:12:47 -06:00
Paul Hindt
8f8b522ca7
aja: Fix for invalid default settings and empty cardID string
2022-01-13 13:11:51 -06:00
Matt Gajownik
cdb5b6e812
obs-vst: Fix crashes due to unhandled events, fix stutter when loading
...
* 106868e - Improve lock for effect object
* 566c213 - Handle more VST events to avoid crashes
2022-01-13 19:09:29 +11:00
Vainock
9af944cb8b
UI: Remove unused 'Percent' string
2022-01-12 07:33:04 -08:00
Vainock
4e8fbb8f77
obs-ffmpeg: Fix spelling mistake for 'Encoder.Timeout'
2022-01-12 07:33:04 -08:00
Colin Edwards
ed329c433d
decklink-output-ui: Stop outputs on OBS_FRONTEND_EVENT_EXIT
2022-01-12 06:53:49 -08:00
jp9000
8ed8301452
libobs-opengl: Fix border color support on GL textures
2022-01-12 06:35:16 -08:00
jpark37
b4b396411a
libobs-d3d11: Log display nit range
...
May be useful for setting display range metadata.
Also span info across multiple lines. Single line had become too long.
2022-01-12 05:36:48 -08:00
gxalpha
723d5a2163
obs-ffmpeg: Add missing "FFmpegOpts" locale
2022-01-12 21:48:38 +11:00
Paul Hindt
1cbf9421d4
aja-output-ui: Add the Multi View UI options for new device.
2022-01-11 17:28:05 -06:00
tytan652
9d02ca0fef
aja: Fix format-security warning
...
On some Linux distributions -Werror=format-security is set when
building package keeping OBS Studio from being built with AJA
plugins.
2022-01-11 20:40:03 +11:00
Matt Gajownik
ffc55b2d3a
UI: Fix crash when opening transition Properties dialog
...
Crash was introduced in ae4797f8cc . It seems with that change, this
function call is no longer necessary.
2022-01-11 18:22:15 +11:00
Matt Gajownik
046d98d871
obs-vst: Fix crashes when switching VSTs, and large channel counts
...
* 0f6470c - Fix crash with plugins using large channel count
* 9cdde97 - obs-vst: Check hash before applying "chunk_data"
27.2.0-beta3
2022-01-11 10:41:57 +11:00
Matt Gajownik
1989391bfc
obs-browser: Update version to 2.17.6
...
* 26dc85e - Add obs-websocket 5.0.0 integration
2022-01-11 10:40:26 +11:00
Matt Gajownik
3900ae0974
libdshowcapture: Add P010 support
2022-01-11 10:40:01 +11:00
Exeldro
ae4797f8cc
UI: Stop locking filter mutex while loading properties
...
Reordering the filters makes the filter mutex of the source locked
while loading a new the properties of a filter which may require other
locks. By loading the properties of the filter on a QueuedConnection
we make sure the filter mutex is cleared when that happens.
2022-01-08 16:11:36 -08:00
Kurt Kartaltepe
bcb04bb800
libobs: Open a separate X11 connection for hotkeys
...
Qt will mask certain input events. In order to avoid them masking things
like mouse button events we open a new display here.
Fixes #4843
2022-01-08 19:20:35 -03:00
Paul Hindt
f09137a2e0
aja: Refactor, clean-up and fix bugs in the signal routing system, and add SDITransport UI option to assist signal routing.
2022-01-08 14:05:10 -06:00
pkv
d78971b4db
obs-ffmpeg: Further FFmpeg deprecations fixes for FFmpeg 4.4+
...
avcodec.h stopped including channel_layout.h per FFmpeg commit
1be3d8a0cb77 [1]. Fixes compilation error on macOS against
FFmpeg later than the mentioned commit.
[1] https://github.com/FFmpeg/FFmpeg/commit/1be3d8a0cb77f8d34c1f39b47bf5328fe10c82d7
2022-01-08 18:18:27 +11:00
Cody Jung
e7837e30ce
UI: Fix push-to-talk/mute delay not saving
...
Fixes a couple copy/paste errors preventing push-to-talk and push-to-mute delays
not saving when choosing Apply or OK.
2022-01-08 17:38:04 +11:00
Cody Jung
fab293a686
UI: Remove Apple deferred tray load
...
With the change to how initial startup minimizing-to-tray works,
we can remove the Apple-specific workaround.
2022-01-07 20:15:03 -08:00
Cody Jung
35b9c76495
UI: Fix flash when starting minimized
...
Rather than showing the main window, then hiding it again when the
tray icon initialization happens, just don't show the main window.
When deciding whether to show the window, we need to know whether
the tray icon is available or not - if it's not and we don't show
the window, there would be no way to restore OBS.
2022-01-07 20:15:03 -08:00
Matt Gajownik
ff42da373b
UI: Fix hotkey JSON error for Advanced Replay Buffer
...
This matches the Simple output Replay Buffer hotkey code.
2022-01-08 13:34:40 +11:00
Ryan Foster
a708eda753
CI: Update Windows obs-deps package to 2022-01-01
...
This aligns CI Windows builds with recently shipped deps to support AV1
and RIST as well as providing other updates.
* Update FFmpeg from 4.2.4 to 4.4.1
* Update nv-codec-headers from 9.0.18.2 to 11.1.5.0
* Add libaom and SVT-AV1 support (64-bit only)
* Add RIST support
* Enable multithreading for libvpx obs-deps builds
2022-01-08 13:19:00 +11:00
Ryan Foster
5eca57eb7e
CI: Update macOS obs-deps package to 2022-01-01
...
Fix RIST on macOS. Patch libaom.
2022-01-08 13:19:00 +11:00
gxalpha
0416c71749
UI: Update context bar when exiting properties dialog
2022-01-08 12:28:18 +11:00
Matt Gajownik
a1e0d2f538
CI: Use GitHub mirror for PipeWire repository
2022-01-08 12:12:36 +11:00
univrsal
aebd261ded
UI: Disable WA_PaintOnScreen for projectors
...
Removing this attribute fixes #3582 and allows projector windows to be resized
under KDE.
2022-01-07 15:40:05 -08:00
Tatsuyuki Ishi
b684e01aad
linux-capture: Disable strict binding for NVIDIA drivers
...
NVIDIA drivers appears to have a bug where binding would be excessively
slow. Apply a workaround similar to what [KWin] does to prevent the issue.
Also performs a refactor so that the code paths with and without the
workaround can be shared.
[KWin]: https://github.com/KDE/kwin/blob/4f2c3a00c4a86c08321e80d601fecd09d0871c79/src/libkwineffects/kwinglplatform.cpp
Fixes: 316f858c6 ("linux-capture: Fix capturing on software rasterization setups")
Closes: https://github.com/obsproject/obs-studio/issues/5685
Tested-By: univrsal <uni@vrsal.xyz >
2022-01-07 15:21:09 -08:00
Clayton Groeneveld
066b281db8
UI: Ignore resizing item when it is locked
...
Fixes https://github.com/obsproject/obs-studio/issues/5724
2022-01-07 15:18:59 -08:00
jpark37
83c89d06b5
libobs-d3d11: Log display color space info
...
Add DXGI_COLOR_SPACE_TYPE and SDR white level when available for HDR
characteristics.
GetPathInfo/IsInternalVideoOutput functions were copied from MS docs.
2022-01-07 15:18:16 -08:00
Norihiro Kamae
e7cfaa0def
UI: Fix label offset on projector view
...
Labels on 18-scene multiview were skewed. This commit adjusted the
location of the labels.
2022-01-07 15:17:20 -08:00
Matt Gajownik
5defdaf1db
obs-vst: Fix resizing, always use source name in window title
...
425935a - Fix VST plug-ins disappearing when resized
2e90d23 - Correctly use source name (not target) for window title
2022-01-07 23:48:06 +11:00
Matt Gajownik
e00195ad6f
UI: Don't recreate entire Hotkey Settings tab
...
This replaces the programmatic generation of the hotkeys tab with XML.
Also fixes a memory leak. Reuses concepts from LoadAudioSources().
2022-01-05 23:56:34 -08:00
Matt Gajownik
a46f56a3e9
UI: Fix taskbar icon visibility on light backgrounds
...
When running Windows 10 or 11 in light mode, the pause icon especially
was hard to see. This adds a border to both icons to improve visiblity.
Additionally, the active icon was a little too large.
2022-01-05 21:13:19 +11:00
Cody Jung
8929798d4d
UI: Immediately apply tray icon change on Apply
...
Rather than waiting until the user chooses OK or Cancel to update the
system tray icon status, update it when the user chooses Apply.
2022-01-05 20:53:17 +11:00