mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
data: Add a seek_backward/forward scenarios
This commit is contained in:
parent
0609de7156
commit
c5a70ba0c5
3 changed files with 84 additions and 6 deletions
|
@ -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
|
||||
|
|
34
validate/data/seek_backward.scenario
Normal file
34
validate/data/seek_backward.scenario
Normal 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>
|
||||
|
33
validate/data/seek_forward.scenario
Normal file
33
validate/data/seek_forward.scenario
Normal 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>
|
Loading…
Reference in a new issue