Browse Source

Movie View: remove useless hack

Felix Paul Kühne 12 years ago
parent
commit
e60a6a88fd
1 changed files with 0 additions and 4 deletions
  1. 0 4
      AspenProject/VLCMovieViewController.m

+ 0 - 4
AspenProject/VLCMovieViewController.m

@@ -326,10 +326,6 @@
 
     [_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 _updatePlaybackSpeedIndicator];