mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Tweaked the OSX video player to do sample-accurate seeking
This commit is contained in:
parent
763ae6c4ad
commit
cb14ab3891
1 changed files with 3 additions and 1 deletions
|
|
@ -109,7 +109,9 @@ struct VideoComponent::Pimpl : public BaseClass
|
|||
CMTime t = { (CMTimeValue) (100000.0 * newPosition),
|
||||
(CMTimeScale) 100000, kCMTimeFlags_Valid };
|
||||
|
||||
[p seekToTime: t];
|
||||
[p seekToTime: t
|
||||
toleranceBefore: kCMTimeZero
|
||||
toleranceAfter: kCMTimeZero];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue