Browse Source

playback: remove hack (closes #14688)

(cherry picked from commit afa7c7f254bc754046a52419919de4ec508a793d)
Felix Paul Kühne 10 years ago
parent
commit
e26241fcdd
1 changed files with 1 additions and 3 deletions
  1. 1 3
      Sources/VLCPlaybackController.m

+ 1 - 3
Sources/VLCPlaybackController.m

@@ -1079,10 +1079,8 @@ static inline NSArray * RemoteCommandCenterCommandsToHandle(MPRemoteCommandCente
     }
 
     if (_mediaPlayer.numberOfVideoTracks > 0) {
-        /* re-enable video decoding and reset position once done */
-        float position = _mediaPlayer.position;
+        /* re-enable video decoding */
         _mediaPlayer.currentVideoTrackIndex = 1;
-        _mediaPlayer.position = position;
     }
 
     if (_shouldResumePlaying) {