obs-studio/plugins/mac-capture
PatTheMav 93adc0a88c mac-capture: Fix creation of invalid window stream on source creation
When the ScreenCaptureKit-based source is generated, the window ID
read from the settings will be empty and interpreted as window ID "0".

This window ID doesn't represent a valid window, but the capture stream
is nevertheless successfully initialized with that value, but will not
generate any output.

Worse, the activated stream should be destroyed when a new stream is
created, but creation will throw an error.

This commit ensures that a valid window ID is used if no good default
value is available, ensuring a working (and destroyable) stream.

Also removes any remaining usage of the old window-utils.
2022-07-26 21:29:48 +02:00
..
data/locale mac-capture: Improve SCK locale strings 2022-07-26 15:30:47 +02:00
audio-device-enum.c mac-capture: Add vbcable to whitelist for loopback devices 2022-03-12 15:41:06 -08:00
audio-device-enum.h clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
CMakeLists.txt mac-capture: Add support for improved window capture in macOS 12.3 2022-07-24 13:59:09 +02:00
mac-audio.c mac-capture: Adjust mHostTime to milliseconds 2021-02-28 19:00:43 -08:00
mac-display-capture.m mac-capture: Add support for improved window capture in macOS 12.3 2022-07-24 13:59:09 +02:00
mac-screen-capture.m mac-capture: Fix creation of invalid window stream on source creation 2022-07-26 21:29:48 +02:00
mac-window-capture.m mac-capture: Improve window capture performance 2022-05-07 16:21:25 -07:00
plugin-main.c mac-capture: Fix availability on macOS 12.5 2022-07-26 21:29:48 +02:00
window-utils.h Revert "mac-capture: Improve window capture performance" 2021-12-20 14:02:58 -08:00
window-utils.m Revert "mac-capture: Improve window capture performance" 2021-12-20 14:02:58 -08:00