data: Add a test that alternates (fast) backward and forward playback

This commit is contained in:
Thibault Saunier 2013-08-20 17:25:48 -04:00 committed by Thiago Santos
parent c5a70ba0c5
commit 65e478f471
2 changed files with 114 additions and 0 deletions

View file

@ -6,6 +6,7 @@ scenarios_DATA = simple_seeks.scenario \
simple_backward.scenario \
fast_forward.scenario \
fast_backward.scenario \
alternate_fast_backward_forward.scenario \
pause_resume.scenario
EXTRA_DIST = simple_seeks.scenario \
@ -15,4 +16,5 @@ EXTRA_DIST = simple_seeks.scenario \
simple_backward.scenario \
fast_forward.scenario \
fast_backward.scenario \
alternate_fast_backward_forward.scenario \
pause_resume.scenario

View file

@ -0,0 +1,112 @@
<scenario name="Alternative fast forward/backward">
<actions>
<seek name='backward seek'
playback_time="0.0"
format="time"
rate="-1.0"
flags="accurate+flush"
start_type="set"
start="0.0"
stop_type="set"
stop="310.0" />
<seek name='forward seek'
playback_time="305.0"
format="time"
rate="1.0"
flags="accurate+flush"
start_type="set"
start="305.0"
stop_type="set"
stop="-1.0" />
<seek name='Fast forward seek'
playback_time="310.0"
format="time"
rate="2.0"
flags="accurate+flush"
start_type="set"
start="310.0"
stop_type="set"
stop="-1.0" />
<seek name='Fast backward seek'
playback_time="320.0"
format="time"
rate="-2.0"
flags="accurate+flush"
start_type="set"
start="0.0"
stop_type="set"
stop="320.0" />
<seek name='Fast forward seek'
playback_time="310.0"
format="time"
rate="4.0"
flags="accurate+flush"
start_type="set"
start="310.0"
stop_type="set"
stop="-1.0" />
<seek name='Fast backward seek'
playback_time="330.0"
format="time"
rate="-4.0"
flags="accurate+flush"
start_type="set"
start="0.0"
stop_type="set"
stop="330.0" />
<seek name='Fast forward seek'
playback_time="310.0"
format="time"
rate="8.0"
flags="accurate+flush"
start_type="set"
start="310.0"
stop_type="set"
stop="-1.0" />
<seek name='Fast backward seek'
playback_time="350.0"
format="time"
rate="-8.0"
flags="accurate+flush"
start_type="set"
start="0.0"
stop_type="set"
stop="350.0" />
<seek name='Fast forward seek'
playback_time="310.0"
format="time"
rate="16.0"
flags="accurate+flush"
start_type="set"
start="310.0"
stop_type="set"
stop="-1.0" />
<seek name='Fast backward seek'
playback_time="390.0"
format="time"
rate="-16.0"
flags="accurate+flush"
start_type="set"
start="0.0"
stop_type="set"
stop="390.0" />
<seek name='Fast forward seek'
playback_time="310.0"
format="time"
rate="32.0"
flags="accurate+flush"
start_type="set"
start="310.0"
stop_type="set"
stop="-1.0" />
<seek name='Fast backward seek'
playback_time="470.0"
format="time"
rate="-32.0"
flags="accurate+flush"
start_type="set"
start="310.0"
stop_type="set"
stop="470.0" />
</actions>
</scenario>