0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 04:42:18 +02:00
obs-studio/plugins/mac-capture
PatTheMav 50a19c5219 mac-capture: Fix crash in device reconnect handler
The uninit function prematurely released the memory allocated for the
channel map setting, which exists in the scope of source life cycle
(compared to channel names which are valid during the life cycle of a
configured device).

Splitting up the clean-up for both (memory for channel names is
released when the device is uninitialized, memory for channel map
setting is released when the source is removed) ensures that the memory
is released but pointers don't become unexpectedly invalid.
2024-02-20 14:18:46 -05:00
..
data/locale Update translations from Crowdin 2024-01-29 20:47:38 +00:00
audio-device-enum.c mac-capture: Replace kAudioObjectPropertyElementMaster with Main 2023-10-17 16:45:36 -04:00
audio-device-enum.h clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
CMakeLists.txt mac-capture: Remove macOS 14 ifdef and custom CGDisplayStream header 2024-01-08 20:40:33 -05:00
mac-audio.c mac-capture: Fix crash in device reconnect handler 2024-02-20 14:18:46 -05:00
mac-display-capture.m mac-capture: Remove macOS 14 ifdef and custom CGDisplayStream header 2024-01-08 20:40:33 -05:00
mac-sck-audio-capture.m mac-capture: Set correct default type for application data 2023-07-16 02:00:39 +02:00
mac-sck-common.h plugins: Remove old macOS version ifdefs 2023-10-27 16:00:42 -04:00
mac-sck-common.m plugins: Remove old macOS version ifdefs 2023-10-27 16:00:42 -04:00
mac-sck-video-capture.m mac-capture: Update capture to include menu bar and child windows 2024-01-06 18:09:06 -06:00
mac-window-capture.m clang-format: Update formatting of all ObjC and ObjC++ files 2023-06-11 14:56:45 +02:00
plugin-main.c plugins: Remove old macOS version ifdefs 2023-10-27 16:00:42 -04:00
window-utils.h mac-capture: Don't crash when migrating unknown display IDs 2023-09-28 14:25:55 -04:00
window-utils.m mac-capture: Don't crash when migrating unknown display IDs 2023-09-28 14:25:55 -04:00