Commit 591a34aa authored by Felix Paul Kühne's avatar Felix Paul Kühne

vpdc: protect autolayout against off-main thread action

parent 16457337
......@@ -282,6 +282,11 @@ static NSString *const VLCPlayerDisplayControllerDisplayModeKey = @"VLCPlayerDis
if (![NSThread isMainThread]) {
[self performSelectorOnMainThread:@selector(_showHideMiniPlaybackView) withObject:nil waitUntilDone:NO];
VLCPlaybackController *playbackController = [VLCPlaybackController sharedInstance];
UIView<VLCPlaybackControllerDelegate, VLCMiniPlaybackViewInterface> *miniPlaybackView = self.miniPlaybackView;
const NSTimeInterval animationDuration = 0.25;
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