0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-19 20:32:15 +02:00
obs-studio/plugins
Seth Williams aa1f2dea84 win-capture: Fix Vulkan race condition
This race condition is caused when one thread creates a swap chain,
which calls OBS_CreateSwapchainKHR, at the same time another thread
calls OBS_CreateImageView.

OBS_CreateSwapchainKHR allocates swap data, publishes this into the
data->swaps linked list, then initializes it. Meanwhile,
OBS_CreateImageView is iterating the swaps linked list, to see if the
image matches any swap chain images. Due to the order in
OBS_CreateSwapchainKHR, there's no guarantee this data is initialized
so it often ends up running out of bounds on the swap_images array.

The fix is simply to defer the swap data publish to after init.
2023-11-07 23:48:34 -06:00
..
aja Update translations from Crowdin 2023-10-10 13:34:41 +00:00
coreaudio-encoder Update translations from Crowdin 2023-10-10 13:34:41 +00:00
decklink Update translations from Crowdin 2023-10-10 13:34:41 +00:00
image-source Update translations from Crowdin 2023-10-10 13:34:41 +00:00
linux-alsa Update translations from Crowdin 2023-10-10 13:34:41 +00:00
linux-capture Update translations from Crowdin 2023-10-10 13:34:41 +00:00
linux-jack Update translations from Crowdin 2023-08-13 14:09:15 +00:00
linux-pipewire linux-pipwire: Pass obs_pw_stream to renegotiation callback 2023-10-28 18:26:29 -03:00
linux-pulseaudio Update translations from Crowdin 2023-10-10 13:34:41 +00:00
linux-v4l2 input-v4l2: always use linear alpha blending 2023-10-14 20:22:22 -03:00
mac-avcapture plugins: Remove old macOS version ifdefs 2023-10-27 16:00:42 -04:00
mac-capture plugins: Remove old macOS version ifdefs 2023-10-27 16:00:42 -04:00
mac-syphon Update translations from Crowdin 2023-10-10 13:34:41 +00:00
mac-videotoolbox mac-videotoolbox: Remove CRF 0 second keyint override 2023-11-04 18:47:52 -05:00
mac-virtualcam mac-virtualcam: Correct device timer firing rate 2023-10-27 10:08:19 -04:00
obs-browser@2ba72dbdfe obs-browser: Add support for more events 2023-11-07 01:49:51 -06:00
obs-ffmpeg obs-ffmpeg: Remove unused variable in VA-API utils 2023-11-04 18:17:43 -05:00
obs-filters libobs,obs-filters: Use common straight alpha math 2023-11-04 18:12:22 -05:00
obs-libfdk Update translations from Crowdin 2023-08-13 14:09:15 +00:00
obs-outputs Update translations from Crowdin 2023-10-10 13:34:41 +00:00
obs-qsv11 obs-qsv11: Migrate target usage settings 2023-10-28 15:45:53 -04:00
obs-text Update translations from Crowdin 2023-10-10 13:34:41 +00:00
obs-transitions Update translations from Crowdin 2023-10-10 13:34:41 +00:00
obs-vst Update translations from Crowdin 2023-10-10 13:34:41 +00:00
obs-webrtc obs-webrtc: Allow non-CBR rate control with WHIP 2023-10-28 18:15:03 -05:00
obs-websocket@4ff109b62b obs-websocket: Update version to 5.3.3 2023-10-16 13:02:06 -04:00
obs-x264 Update translations from Crowdin 2023-10-10 13:34:41 +00:00
oss-audio Update translations from Crowdin 2023-10-10 13:34:41 +00:00
rtmp-services rtmp-services: Remove defunct servers/services 2023-10-26 17:48:23 -07:00
sndio Update translations from Crowdin 2023-10-10 13:34:41 +00:00
text-freetype2 Update translations from Crowdin 2023-10-10 13:34:41 +00:00
vlc-video Update translations from Crowdin 2023-10-10 13:34:41 +00:00
win-capture win-capture: Fix Vulkan race condition 2023-11-07 23:48:34 -06:00
win-dshow Update translations from Crowdin 2023-10-10 13:34:41 +00:00
win-wasapi win-wasapi: Handle changes to the default monitoring device 2023-11-07 01:32:12 -06:00
CMakeLists.txt plugins: Update CMake minimum to 3.22 2023-08-05 16:45:46 -07:00