Commit e60a6a88 authored by Felix Paul Kühne's avatar Felix Paul Kühne

Movie View: remove useless hack

parent b006dc90
...@@ -326,10 +326,6 @@ ...@@ -326,10 +326,6 @@
[_mediaPlayer play]; [_mediaPlayer play];
/* fallback if an invalid duration was reported by MLKit */
if (self.mediaItem.duration.intValue == 0 && self.mediaItem.lastPosition && [self.mediaItem.lastPosition floatValue] < .95)
[_mediaPlayer setPosition:[self.mediaItem.lastPosition floatValue]];
self.playbackSpeedSlider.value = [self _playbackSpeed]; self.playbackSpeedSlider.value = [self _playbackSpeed];
[self _updatePlaybackSpeedIndicator]; [self _updatePlaybackSpeedIndicator];
......
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