From f737f942a5ace4cab4fb165b1eaeff8f036395fa Mon Sep 17 00:00:00 2001
From: David Fuhrmann <dfuhrmann@videolan.org>
Date: Sun, 22 Jun 2014 13:10:34 +0200
Subject: [PATCH] macosx: remove unneeded performSelectorOnMainThread

setActiveVideoPlayback is always called on the main thread nowadays..
---
 modules/gui/macosx/intf.m | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index 6c127192df..0fca5ba5a5 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -1554,13 +1554,15 @@ static VLCMain *_o_sharedMainInstance = nil;
 
 - (void)setActiveVideoPlayback:(BOOL)b_value
 {
+    assert([NSThread isMainThread]);
+
     b_active_videoplayback = b_value;
     if (o_mainwindow) {
-        [o_mainwindow performSelectorOnMainThread:@selector(setVideoplayEnabled) withObject:nil waitUntilDone:YES];
+        [o_mainwindow setVideoplayEnabled];
     }
 
     // update sleep blockers
-    [self performSelectorOnMainThread:@selector(playbackStatusUpdated) withObject:nil waitUntilDone:NO];
+    [self playbackStatusUpdated];
 }
 
 #pragma mark -
-- 
2.25.4