obs-studio/plugins
PatTheMav 03c42e5b93 mac-avcapture: Fix crash issues on Intel-based Macs and older macOS
Fixes several possible crash issues that might occur on Intel-based Macs
and older macOS versions:

On modern macOS versions (13+) allocated memory is zero-allocated by
default which makes NULL pointer checks work correctly after allocation.

On older macOS versions this is not the case, so the OBSAVCaptureInfo
struct needs to be zero-allocated to ensure the guards in the tick and
render functions bail out correctly.

On Intel-based Macs and/or older macOS versions passing a reference to
the OBSAVCapture instance inside the OBSAVCapture struct can lead to a
crash because of a possible circular reference that cannot be resolved
at runtime.

Passing only a reference of the OBSAVCapture to libobs and incrementing
the retain count at source creation (decrementing in when the source is
destroyed) avoids this issue entirely.
2024-02-20 17:57:09 -05:00
..
aja Update translations from Crowdin 2024-01-29 20:47:38 +00:00
coreaudio-encoder Update translations from Crowdin 2024-01-29 20:47:38 +00:00
decklink Update translations from Crowdin 2024-01-29 20:47:38 +00:00
image-source image-source: Fix crash when randomize with 0 files 2024-02-03 17:36:26 -06:00
linux-alsa Update translations from Crowdin 2024-01-29 20:47:38 +00:00
linux-capture Update translations from Crowdin 2024-01-29 20:47:38 +00:00
linux-jack Update translations from Crowdin 2024-01-29 20:47:38 +00:00
linux-pipewire Update translations from Crowdin 2024-01-29 20:47:38 +00:00
linux-pulseaudio Update translations from Crowdin 2024-01-29 20:47:38 +00:00
linux-v4l2 Update translations from Crowdin 2024-01-29 20:47:38 +00:00
mac-avcapture mac-avcapture: Fix crash issues on Intel-based Macs and older macOS 2024-02-20 17:57:09 -05:00
mac-capture mac-capture: Fix crash in device reconnect handler 2024-02-20 14:18:46 -05:00
mac-syphon Update translations from Crowdin 2024-01-29 20:47:38 +00:00
mac-videotoolbox Update translations from Crowdin 2024-01-29 20:47:38 +00:00
mac-virtualcam Update translations from Crowdin 2024-01-29 20:47:38 +00:00
obs-browser@9c235def6e Update translations from Crowdin 2024-01-29 20:47:38 +00:00
obs-ffmpeg obs-ffmpeg: Receive packets while frame queue is full 2024-02-10 17:25:14 -06:00
obs-filters Update translations from Crowdin 2024-01-29 20:47:38 +00:00
obs-libfdk Update translations from Crowdin 2024-01-29 20:47:38 +00:00
obs-outputs Update translations from Crowdin 2024-01-29 20:47:38 +00:00
obs-qsv11 obs-qsv11: Disable texture encoder on linux 2024-02-09 20:19:55 -05:00
obs-text Update translations from Crowdin 2024-01-29 20:47:38 +00:00
obs-transitions Update translations from Crowdin 2024-01-29 20:47:38 +00:00
obs-vst Update translations from Crowdin 2024-01-29 20:47:38 +00:00
obs-webrtc Update translations from Crowdin 2024-01-29 20:47:38 +00:00
obs-websocket@9ee6e2ff2a Update translations from Crowdin 2024-01-29 20:47:38 +00:00
obs-x264 Update translations from Crowdin 2024-01-29 20:47:38 +00:00
oss-audio Update translations from Crowdin 2024-01-29 20:47:38 +00:00
rtmp-services Update translations from Crowdin 2024-01-29 20:47:38 +00:00
sndio Update translations from Crowdin 2024-01-29 20:47:38 +00:00
text-freetype2 Update translations from Crowdin 2024-01-29 20:47:38 +00:00
vlc-video Update translations from Crowdin 2024-01-29 20:47:38 +00:00
win-capture win-capture: Add line break for capture audio tooltip 2024-02-20 16:00:40 -05:00
win-dshow win-dshow: Add generated Windows resource file to virtualcam sources 2024-02-10 01:50:06 -05:00
win-wasapi Update translations from Crowdin 2024-01-29 20:47:38 +00:00
CMakeLists.txt plugins: Update CMake minimum to 3.22 2023-08-05 16:45:46 -07:00