Commit 7901743b authored by Felix Paul Kühne's avatar Felix Paul Kühne

fullscreen view: fix playback state restoration issue (closes #15002)

parent ff827de4
......@@ -833,7 +833,7 @@ typedef NS_ENUM(NSInteger, VLCPanType) {
self.brightnessSlider.value = [UIScreen mainScreen].brightness * 2.;
[_equalizerView reloadData];
float playbackRate = controller.playbackRate;
double playbackRate = controller.playbackRate;
self.playbackSpeedSlider.value = log2(playbackRate);
self.playbackSpeedIndicator.text = [NSString stringWithFormat:@"%.2fx", playbackRate];
......
......@@ -901,6 +901,8 @@ setstuff:
currentMediaHasTrackToChooseFrom:self.currentMediaHasTrackToChooseFrom
currentMediaHasChapters:self.currentMediaHasChapters
forPlaybackController:self];
if ([self.delegate respondsToSelector:@selector(prepareForMediaPlayback:)])
[self.delegate prepareForMediaPlayback:self];
}
- (void)scheduleSleepTimerWithInterval:(NSTimeInterval)timeInterval
......
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