data: Avoid races in the scrub_forward seeking scenario
Make sure that it does not last too long if the file is long (scrubing on 10 secs maximum), and make sure that we do not end up seeking after the max duration
This commit is contained in:
parent
182f4e9a41
commit
3990d7716c
@ -1,3 +1,3 @@
|
||||
pause, playback_time=0.0
|
||||
seek, playback_time=0.0, start=position+0.1, repeat="duration/0.1-2", flags=accurate+flush
|
||||
seek, playback_time=0.0, start=position+0.1, repeat="min(10, (duration - 0.5))/0.1", flags=accurate+flush
|
||||
play, playback_time=0.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user