ソースを参照

Replace the current time with the time we will seek to when moving time slider to please j-b ;)

Felix Paul Kühne 12 年 前
コミット
511d859187
1 ファイル変更2 行追加0 行削除
  1. 2 0
      AspenProject/VLCMovieViewController.m

+ 2 - 0
AspenProject/VLCMovieViewController.m

@@ -458,6 +458,8 @@
 - (IBAction)positionSliderAction:(UISlider *)sender
 {
     [self performSelector:@selector(_setPositionForReal) withObject:nil afterDelay:0.3];
+    VLCTime *newPosition = [VLCTime timeWithInt:(int)(_positionSlider.value * self.mediaItem.duration.intValue)];
+    self.timeDisplay.text = newPosition.stringValue;
     _positionSet = NO;
     [self _resetIdleTimer];
 }