Commit 413ecd64 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: fixed crash due to race condition on launch

The main window may be asked to update its content prior to VLCFSPanel being fully initialized
(cherry picked from commit 8ef447a49d49598e5b022c4b2f03a3b8a6a24d98)
parent d05cf3d1
...@@ -1470,6 +1470,7 @@ static VLCMainWindow *_o_sharedInstance = nil; ...@@ -1470,6 +1470,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
[o_time_sld setEnabled: b_seekable]; [o_time_sld setEnabled: b_seekable];
[self updateTimeSlider]; [self updateTimeSlider];
if ([o_fspanel respondsToSelector:@selector(setSeekable:)])
[o_fspanel setSeekable: b_seekable]; [o_fspanel setSeekable: b_seekable];
PL_LOCK; PL_LOCK;
......
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