Commit 6999dfdc authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: fixed crash on quit while the video plays in the detached window

(cherry picked from commit 48897cfc6d9bbd43ef2e9d6a5369210dde3d8b8a)
parent 9f7609f2
...@@ -1705,7 +1705,7 @@ unsigned int CocoaKeyToVLC( unichar i_key ) ...@@ -1705,7 +1705,7 @@ unsigned int CocoaKeyToVLC( unichar i_key )
- (void)setActiveVideoPlayback:(BOOL)b_value - (void)setActiveVideoPlayback:(BOOL)b_value
{ {
b_active_videoplayback = b_value; b_active_videoplayback = b_value;
[o_mainwindow setVideoplayEnabled]; [o_mainwindow performSelectorOnMainThread:@selector(setVideoplayEnabled) withObject: nil waitUntilDone:NO];
[o_mainwindow performSelectorOnMainThread:@selector(togglePlaylist:) withObject: nil waitUntilDone:NO]; [o_mainwindow performSelectorOnMainThread:@selector(togglePlaylist:) withObject: nil waitUntilDone:NO];
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment