Commit 6a5ff948 authored by Carola Nitz's avatar Carola Nitz

VLCFullscreenMovieTVViewController: resume playback after scrubbing

These two lines were removed in the refactoring and you had to press play twice to resume playback.
Adding these lines again fixes this behavior again
parent 47e021c2
......@@ -689,13 +689,19 @@ static const NSInteger VLCJumpInterval = 10000; // 10 seconds
{
NSAssert(self.isSeekable, @"Tried to seek while not media is not seekable.");
VLCPlaybackController *vpc = [VLCPlaybackController sharedInstance];
self.transportBar.scrubbing = YES;
[self updateDimmingView];
if (vpc.isPlaying) {
[vpc playPause];
}
}
- (void)stopScrubbing
{
self.transportBar.scrubbing = NO;
[self updateDimmingView];
VLCPlaybackController *vpc = [VLCPlaybackController sharedInstance];
[vpc playPause];
}
- (void)updateDimmingView
......
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