derrod
2b33fb3ad2
UI: Massive improve hotkey search performance
2023-02-19 15:41:54 -08:00
gxalpha
19a0afe526
UI: Don't double-delete children of deleted widgets
...
These widgets are all children of updateSettingsGroupBox, meaning they
get deleted when updateSettingsGroupBox gets deleted. This means that
the first two calls are unnecessary and the third one segfaults as
updateChannelLabel is gone already.
Just delete the parent widget instead.
2023-02-19 20:39:47 +01:00
bin
27981b15e9
UI: Fix compile error when obs-browser disabled
2023-02-19 20:39:23 +01:00
gxalpha
e438037960
UI: Use native color dialog on macOS
2023-02-19 04:10:51 +01:00
tytan652
9e6a482c66
UI: Fix button callback in OBSPropertiesView created with an id
...
Before calling the button callback, two values are null-checked but when
the property is created with an id (const char*). Those values are null
which prevent the callback from being called.
2023-02-18 17:47:19 -08:00
derrod
9d71d2f7fd
cmake: Remove ENABLE_SPARKLE_UPDATER option
...
Since public key and appcast are now options we simply rely on those to
decide whether or not to enable Sparkle.
2023-02-19 01:35:56 +01:00
derrod
12a27d8b99
UI: Add update channels (macOS)
2023-02-19 01:35:56 +01:00
derrod
634fd3231c
CI/cmake: Update Sparkle to 2.3.2
2023-02-19 01:35:56 +01:00
derrod
0972da9e1a
UI: Merge win-update and nix-update
2023-02-19 01:35:56 +01:00
tytan652
64176daaf4
UI: Force Wayland usage on Ubuntu GNOME
...
XDG_CURRENT_DESKTOP is set to "ubuntu:GNOME" on Ubuntu custom version of
GNOME.
2023-02-18 16:20:39 -08:00
PatTheMav
8c8a44b26a
mac-virtualcam: Fix compiler warnings
...
CMake build framework 3.0 introduces more strict typing checks, which
require additional code fixes to silence.
* Fixes warnings about implicit casts
* Fixes warnings about weak references used multiple times inside
blocks
2023-02-18 15:22:33 -08:00
PatTheMav
f98c2d2514
mac-capture: Fix compiler warnings
...
CMake build framework 3.0 introduces more strict typing checks, which
require additional code fixes to silence.
* Fixes warnings about multi-character assignments
* Fixes warnings about implicit casts
* Fixes warnings about shadowing variables
2023-02-18 15:22:33 -08:00
PatTheMav
c5bb6218b6
mac-avcapture: Fix compiler warnings
...
CMake build framework 3.0 introduces more strict typing checks, which
require additional code fixes to silence.
* Fixes warnings about multi-character assignments
* Fixes warnings about implicit casts
2023-02-18 15:22:33 -08:00
PatTheMav
8b0843803e
UI: Remove unused variables
2023-02-18 15:22:33 -08:00
PatTheMav
1bb06a8bdc
rtmp-services: Fix missing newline at the end of files
2023-02-18 15:22:33 -08:00
PatTheMav
f67c1bcceb
obs-x264: Fix non-exhaustive switch statements
2023-02-18 15:22:33 -08:00
PatTheMav
f4bbe080bf
obs-vst: Fix missing newlines at the end of files
2023-02-18 15:22:33 -08:00
PatTheMav
bb2a99cec8
obs-transitions: Fix non-exhaustive switch statements
2023-02-18 15:22:33 -08:00
PatTheMav
3175e699ea
obs-filters: Fix non-exhaustive switch statements
2023-02-18 15:22:33 -08:00
PatTheMav
19c131c981
obs-ffmpeg: Remove unused variables
2023-02-18 15:22:33 -08:00
PatTheMav
6e0d802874
obs-ffmpeg: Fix non-exhaustive switch statements
2023-02-18 15:22:33 -08:00
PatTheMav
c4d60f47c7
decklink: Add missing newlines at the end of files
2023-02-18 15:22:33 -08:00
PatTheMav
ce9854a11b
aja: Remove unused variables
2023-02-18 15:22:33 -08:00
PatTheMav
41a10b05fd
libobs-opengl: Refactor macOS implementation
...
Replaces macros with actual code and uses more platform-specific code.
As an added benefit this improves debugging and code navigation in
Xcode.
2023-02-18 15:22:33 -08:00
PatTheMav
2f4b611fd7
libobs-opengl: Fix non-exhaustive switch statement
2023-02-18 15:22:33 -08:00
PatTheMav
db3a01db6b
libobs: Remove unused variables
2023-02-18 15:22:33 -08:00
PatTheMav
fb7a9edadc
libobs: Fix non-exhaustive switch statements
2023-02-18 15:22:33 -08:00
PatTheMav
cfa0dc573e
media-playback: Fix non-exhaustive switch statement
2023-02-18 15:22:33 -08:00
PatTheMav
7035ca7964
libcaption: Fix missing newline at the end of file
2023-02-18 15:22:33 -08:00
gxalpha
623af15821
UI: Connect Reset button in Transform dialog with main window directly
2023-02-18 15:19:21 -08:00
cg2121
64d4ae0106
UI: Remove bitness strings
...
This removes the bitness strings from the title bar and about dialog.
2023-02-18 15:09:11 -08:00
derrod
b44910726d
UI: Defer Settings window hotkey loading
2023-02-18 15:04:23 -08:00
pkv
e355a32066
obs-ffmpeg: Relax 'lookahead' constraint when bitrate is updated
...
When bitrate is updated, a check against 'lookahead' setting is done.
If 'lookahead' is enabled, the bitrate update is disabled.
We indeed used to observe crashes with nvenc when frequent bitrate
resettings were effected while lookahead option was enabled.
But recent tests have shown that the issue is gone.
As a result this commit allows 'lookahead' with bitrate live update.
Signed-off-by: pkv <pkv@obsproject.com >
2023-02-17 15:41:43 -05:00
Lukáš Cezner
5d1f0efc43
vlc-video: Fix videos larger than 1080p being squished
...
Fix an overflow in display_width caused by unsafe multiplication of the
video width by Sample Aspect Ratio.
2023-02-17 14:59:08 -05:00
Richard Stanway
e280fd6cd0
obs-ffmpeg: Add GeForce MX350 variant to unsupported NVENC list
2023-02-17 11:19:08 -05:00
Richard Stanway
25f01357e6
obs-ffmpeg: Handle NV_ENC_ERR_NO_ENCODE_DEVICE error
2023-02-17 11:19:08 -05:00
Richard Stanway
7dae8d307c
obs-ffmpeg: Restore bad GPU index NVENC error message
...
FFmpeg wipes priv_data if the encoder fails to start, so we need some
way of knowing if the GPU index was non-zero. This is a bit ugly but the
best way to do it for now.
2023-02-17 11:19:08 -05:00
Richard Stanway
e593335086
obs-ffmpeg: NVENC error logging improvements
...
This writes the result of nvEncGetLastErrorString to the last encoder
error instead of just the log file. This makes it user-visible, which
should help users diagnose and solve the problem.
Also strips off leading colons from NVENC error strings as these can
look odd given our format string. An example of such an error:
::NV_ENC_TWO_PASS_FULL_RESOLUTION is only supported multipass encoding
on this architecture.
2023-02-17 11:19:08 -05:00
tytan652
08af16edaf
CI: Factorize Github labels checks
2023-02-16 21:30:53 +01:00
univrsal
cddf69d69f
linux-jack: Prepend devices with "OBS Studio: "
...
This makes it more clear that the device belongs to OBS.
Fixes #7988
2023-02-16 15:17:11 -03:00
bin
559925ebaa
UI: Check item whether selected before select
...
To prevent item from being selected again,
then mess up the qt internal list order.
2023-02-15 23:09:42 +01:00
Richard Stanway and gkvjwa
c57a291316
libobs: Convert security product name to UTF-8 for logging
...
Co-Authored-By: gkvjwa <285794886@qq.com >
2023-02-15 15:36:13 -05:00
gkvjwa
07233d189a
libobs-winrt: Convert errors to UTF-8 with winrt::to_string
2023-02-15 15:36:13 -05:00
Richard Stanway
0121533e3e
win-capture: Convert monitor name to UTF-8 for display
...
Also increase the buffer size to account for potential wide characters
consuming many bytes.
2023-02-15 15:36:13 -05:00
Richard Stanway
150124038b
libobs-d3d11: Convert monitor name to UTF-8 for logging
2023-02-15 15:36:13 -05:00
Jan Beich
50338afe51
CI: Consistently capitalize PipeWire
2023-02-15 14:44:36 -05:00
Jan Beich
ca6dc26332
CI: Add PipeWire package to FreeBSD config for CirrusCI
2023-02-15 14:44:36 -05:00
Jan Beich
60d20d4618
CI: Enable PipeWire on FreeBSD similar to Linux
2023-02-15 14:44:36 -05:00
Jan Beich
0a257a71e8
plugins: Enable linux-pipewire on FreeBSD
2023-02-15 14:44:36 -05:00
Jan Beich
e98c9fbd65
linux-pipewire: Drop unused Linux-only header
...
<dma-buf.h> provides DMA_BUF_IOCTL_* which were never used by OBS.
2023-02-15 14:44:36 -05:00