Commit eac12c57 authored by Felix Paul Kühne's avatar Felix Paul Kühne Committed by Jean-Baptiste Kempf

macosx: fixed rare crash when reshaping the video view (fixes #5740)

(cherry picked from commit 52eae1b9ed74a3dbcd0ff39345c4da3316fa587c)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 1124bc63
......@@ -1645,7 +1645,7 @@ unsigned int CocoaKeyToVLC( unichar i_key )
{
b_active_videoplayback = b_value;
[o_mainwindow setVideoplayEnabled];
[o_mainwindow togglePlaylist:nil];
[o_mainwindow performSelectorOnMainThread:@selector(togglePlaylist:) withObject: nil waitUntilDone:NO];
}
- (BOOL)activeVideoPlayback
......
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