vlc | branch: master | Felix Paul Kühne <[email protected]> | Sun Aug 13 
16:42:36 2017 +0200| [26e8078038134e1ba822842c98dafa15425744b3] | committer: 
Felix Paul Kühne

vout iOS: fix remaining call on UIKit from a background thread (refs #18572)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=26e8078038134e1ba822842c98dafa15425744b3
---

 modules/video_output/ios.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_output/ios.m b/modules/video_output/ios.m
index bbc1e411ec..4ddc0e0957 100644
--- a/modules/video_output/ios.m
+++ b/modules/video_output/ios.m
@@ -240,7 +240,7 @@ void Close (vlc_object_t *this)
 
     @autoreleasepool {
         if (sys->tapRecognizer) {
-            [sys->tapRecognizer.view 
removeGestureRecognizer:sys->tapRecognizer];
+            [sys->tapRecognizer.view 
performSelectorOnMainThread:@selector(removeGestureRecognizer:) 
withObject:sys->tapRecognizer waitUntilDone:YES];
             [sys->tapRecognizer release];
         }
 

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to