From 7f3d61a35d64bfe250370f8a7bbc59dfd8596fe9 Mon Sep 17 00:00:00 2001 From: Palana Date: Wed, 14 May 2014 20:50:31 +0200 Subject: [PATCH] Fix an issue with display capture shutdown Holding the lock in destroy_display_stream can result in a deadlock in display_stream_update since cb4595e512ca68526c7b44b73ef6d2708c8ab96a --- test/test-input/test-desktop.m | 1 - 1 file changed, 1 deletion(-) diff --git a/test/test-input/test-desktop.m b/test/test-input/test-desktop.m index 7a636050a..ac114128f 100644 --- a/test/test-input/test-desktop.m +++ b/test/test-input/test-desktop.m @@ -63,7 +63,6 @@ static void display_capture_destroy(void *data) if (!dc) return; - pthread_mutex_lock(&dc->mutex); gs_entercontext(obs_graphics()); destroy_display_stream(dc);