data: Add a seek_backward/forward scenarios

This commit is contained in:
Thibault Saunier 2013-08-19 10:03:04 -04:00 committed by Thiago Santos
parent 0609de7156
commit c5a70ba0c5
3 changed files with 84 additions and 6 deletions

View file

@ -1,7 +1,18 @@
scenariosdir=${datadir}/gstreamer-$(GST_API_VERSION)/qa-scenario
scenarios_DATA = simple_seeks.scenario pause_resume.scenario \
seek_forward_backward.scenario fast_forward.scenario \
fast_backward.scenario simple_backward.scenario
EXTRA_DIST = simple_seeks.scenario pause_resume.scenario \
seek_forward_backward.scenario fast_forward.scenario \
fast_backward.scenario simple_backward.scenario
scenarios_DATA = simple_seeks.scenario \
seek_forward.scenario \
seek_backward.scenario \
seek_forward_backward.scenario \
simple_backward.scenario \
fast_forward.scenario \
fast_backward.scenario \
pause_resume.scenario
EXTRA_DIST = simple_seeks.scenario \
seek_forward.scenario \
seek_backward.scenario \
seek_forward_backward.scenario \
simple_backward.scenario \
fast_forward.scenario \
fast_backward.scenario \
pause_resume.scenario

View file

@ -0,0 +1,34 @@
<scenario name="Backward Seeks">
<actions>
<seek name='First backward seek'
playback_time="5.0"
format="time"
rate="1.0"
flags="accurate+flush"
start_type="set"
start="0.0"
stop_type="set"
stop="-1.0" />
<seek name='Second backward seek'
playback_time="10.0"
format="time"
rate="1.0"
flags="accurate+flush"
start_type="set"
start="5.0"
stop_type="set"
stop="-1.0" />
<seek name='Third backward seek with stop value (1 sec)'
playback_time="15.0"
format="time"
rate="1.0"
flags="accurate+flush"
start_type="set"
start="10.0"
stop_type="set"
stop="15.0" />
</actions>
</scenario>

View file

@ -0,0 +1,33 @@
<scenario name="Forward Seeks">
<actions>
<seek name='First forward seek'
playback_time="5.0"
format="time"
rate="1.0"
flags="accurate+flush"
start_type="set"
start="10.0"
stop_type="set"
stop="-1.0" />
<seek name='Second forward seek'
playback_time="15.0"
format="time"
rate="1.0"
flags="accurate+flush"
start_type="set"
start="20.0"
stop_type="set"
stop="-1.0" />
<seek name='Third forward seek with stop value (1 sec)'
playback_time="25.0"
format="time"
rate="1.0"
flags="accurate+flush"
start_type="set"
start="30.0"
stop_type="set"
stop="35.0" />
</actions>
</scenario>