obs-studio/plugins/mac-virtualcam
PatTheMav 447adfbe38 mac-virtualcam: Fix memory access issues for shared IOSurfaces
The DAL plugin-based virtualcamera shares data between OBS and the
plugin using an IOSurface. IOSurface locks are necessary to ensure
race conditions between data generation (OBS side) and consumption
(virtual camera side) and also that an IOSurface is not offloaded to
GPU memory when it is indeed needed in CPU memory.

Also moves the invalidation of the NSMachPort for the frames to after
the IOSurface data has been converted into a pixelbuffer and added to
the frame queue of the virtual camera, as an early invalidation will
cut off access to the pixel data shared with the DAL plugin.
2023-01-16 12:16:16 -05:00
..
data/locale Add virtualcam plugin to OBS codebase 2020-10-30 23:36:57 -07:00
src mac-virtualcam: Fix memory access issues for shared IOSurfaces 2023-01-16 12:16:16 -05:00
CMakeLists.txt cmake: Fix diverging prefix padding for OBS status outputs 2022-03-26 09:44:23 -04:00