Browse Source

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

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

+ 2 - 0
AspenProject/VLCMovieViewController.m

@@ -458,6 +458,8 @@
 - (IBAction)positionSliderAction:(UISlider *)sender
 - (IBAction)positionSliderAction:(UISlider *)sender
 {
 {
     [self performSelector:@selector(_setPositionForReal) withObject:nil afterDelay:0.3];
     [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;
     _positionSet = NO;
     [self _resetIdleTimer];
     [self _resetIdleTimer];
 }
 }