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
gxalpha
9afc3cabca
UI: Refactor / Clean up addNudge
2023-02-15 14:11:46 -05:00
Richard Stanway
e9504326f9
UI: Remove unnecessary null checks
2023-02-15 13:40:13 -05:00
Richard Stanway
2ac43052f9
UI: Fix memory leak of remux window
2023-02-15 13:40:13 -05:00
Richard Stanway
bff7928b50
UI: Avoid division by zero when calculating slider position
...
Detected by UBSan.
2023-02-15 13:40:13 -05:00
Richard Stanway
1f278bb18b
UI: Set remux entry state before adding to queue
...
When adding to the queue, this triggers rowCountChanged which then
calls canClearFinished, reading undefined memory for state if this is
not set. The correct state is set immediately after by checkInputPath.
Detected by UBSan.
2023-02-15 13:40:13 -05:00
Richard Stanway
7178124da9
libobs: Fix typo in function name
2023-02-15 13:40:13 -05:00
Richard Stanway
7c8acd48a9
UI: Improved implementation for sorting filters menu
...
Rather than finding the insertion point and iterating the vector for
each item, let's sort it afterwards.
2023-02-15 12:48:08 -05:00
tuduweb
e36163ce89
libobs/media-io: Correctly check codec tag compatibility for out stream
2023-02-15 18:21:09 +01:00
bin
60e014e0e3
UI: Correct browse behavior in non-empty input edit line
2023-02-15 11:22:03 -05:00