Commit e19dc6f9 authored by Soomin Lee's avatar Soomin Lee Committed by Felix Paul Kühne

VLCFullscreenMovieTVViewController: Remove display of playback control on mediaPlayerStateChanged

Like `VLCMovieViewController` we do not need to show/hide the playback
controls in `mediaPlayerStateChanged`.
Additionally, closes #141.
Signed-off-by: Felix Paul Kühne's avatarFelix Paul Kühne <felix@feepk.net>
parent 066aa197
......@@ -827,15 +827,12 @@ currentMediaHasTrackToChooseFrom:(BOOL)currentMediaHasTrackToChooseFrom
if (self.movieView.subviews.count < 2) {
controller.videoOutputView = self.movieView;
}
[self hidePlaybackControlsIfNeededAfterDelay];
} else {
[self showPlaybackControlsIfNeededForUserInteraction];
}
if (controller.isPlaying && !self.bufferingLabel.hidden) {
[UIView animateWithDuration:.3 animations:^{
self.bufferingLabel.hidden = YES;
}];
if (!self.bufferingLabel.hidden) {
[UIView animateWithDuration:.3 animations:^{
self.bufferingLabel.hidden = YES;
}];
}
}
}
......
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