mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
data: Add a test that alternates (fast) backward and forward playback
This commit is contained in:
parent
c5a70ba0c5
commit
65e478f471
2 changed files with 114 additions and 0 deletions
|
@ -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
|
||||
|
|
112
validate/data/alternate_fast_backward_forward.scenario
Normal file
112
validate/data/alternate_fast_backward_forward.scenario
Normal 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>
|
Loading…
Reference in a new issue