From 6fcd2173ebb24e75d98932e804ecb163129bf5d4 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Fri, 10 Jan 2014 14:31:24 +0100 Subject: [PATCH] validate:tools: Fix the fast forward scenario to handle any file duration --- validate/data/fast_forward.scenario | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/validate/data/fast_forward.scenario b/validate/data/fast_forward.scenario index 97eb607fed..e390b63993 100644 --- a/validate/data/fast_forward.scenario +++ b/validate/data/fast_forward.scenario @@ -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