validate:tools: Fix the fast forward scenario to handle any file duration

This commit is contained in:
Thibault Saunier 2014-01-10 14:31:24 +01:00
parent 8e81727b87
commit 6fcd2173eb

View file

@ -1,5 +1,5 @@
seek, name=Fast-forward-seek, playback_time=0.0, rate=2.0, start=0.0, flags=accurate+flush
seek, name=Fast-forward-seek, playback_time=10.0, rate=4.0, start=10.0, flags=accurate+flush
seek, name=Fast-forward-seek, playback_time=30.0, rate=8.0, start=30.0, flags=accurate+flush
seek, name=Fast-forward-seek, playback_time=70.0, rate=16.0, start=70.0, flags=accurate+flush
seek, name=Fast-forward-seek, playback_time=150.0, rate=32.0, start=150.0, stop=310.0, flags=accurate+flush
seek, name=Fast-forward-seek, playback_time=0.0, rate=2.0, start=0.0, flags=accurate+flush
seek, name=Fast-forward-seek, playback_time="min(10.0, duration*0.25)", rate=4.0, start=0.0, flags=accurate+flush
seek, name=Fast-forward-seek, playback_time="min(20.0, duration*0.50)", rate=8.0, start=0.0, flags=accurate+flush
seek, name=Fast-forward-seek, playback_time="min(40.0, duration*0.75)", rate=16.0, start=0.0, flags=accurate+flush
seek, name=Fast-forward-seek, playback_time="min(50.0, duration*0.75)", rate=32.0, start=0.0, stop="min(60.0, -1)", flags=accurate+flush