Commit 03283d86 authored by Felix Paul Kühne's avatar Felix Paul Kühne

video VC: don't stop playback on close and make sure to always be the VPC's delegate if displayed

parent c36baa3b
......@@ -433,7 +433,9 @@ typedef NS_ENUM(NSInteger, VLCPanType) {
[UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleBlackTranslucent;
}
[VLCPlaybackController sharedInstance].videoOutputView = self.movieView;
VLCPlaybackController *vpc = [VLCPlaybackController sharedInstance];
vpc.videoOutputView = self.movieView;
vpc.delegate = self;
[self setControlsHidden:NO animated:YES];
}
......@@ -660,8 +662,6 @@ typedef NS_ENUM(NSInteger, VLCPanType) {
LOCKCHECK;
[self presentingViewControllerShouldBeClosed:nil];
[[VLCPlaybackController sharedInstance] stopPlayback];
}
- (IBAction)positionSliderAction:(UISlider *)sender
......
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