mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
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 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue