Commit 3960d745 authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

Movie View: document slider hack

parent f7834c6d
......@@ -517,6 +517,9 @@
- (IBAction)positionSliderAction:(UISlider *)sender
/* we need to limit the number of events sent by the slider, since otherwise, the user
* wouldn't see the I-frames when seeking on current mobile devices. This isn't a problem
* within the Simulator, but especially on older ARMv7 devices, it's clearly noticeable. */
[self performSelector:@selector(_setPositionForReal) withObject:nil afterDelay:0.3];
VLCTime *newPosition = [VLCTime timeWithInt:(int)(_positionSlider.value * self.mediaItem.duration.intValue)];
[self.timeDisplay setTitle:newPosition.stringValue forState:UIControlStateNormal];
Supports Markdown
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