mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
validate:scenarios: Prefer stop action instead of EOS when appropriate
This commit is contained in:
parent
bd936dae4c
commit
8852633dfc
10 changed files with 11 additions and 5 deletions
|
@ -2,4 +2,4 @@ description, duration=15.0
|
|||
set-restriction, playback_time=5.0, restriction-caps="video/x-raw,framerate=(fraction)5/1"
|
||||
set-restriction, playback_time=10.0, restriction-caps="video/x-raw,framerate=(fraction)30/1"
|
||||
eos, playback_time=15.0
|
||||
|
||||
stop, playback_time=15.0
|
||||
|
|
|
@ -4,3 +4,4 @@ set-restriction, playback_time=10.0, restriction-caps="video/x-raw,height=20,wid
|
|||
set-restriction, playback_time=15.0, restriction-caps="video/x-raw,height=20,width=20,framerate=(fraction)30/1"
|
||||
set-restriction, playback_time=20.0, restriction-caps="video/x-raw,height=720,width=1280,framerate=(fraction)30/1"
|
||||
eos, playback_time=25.0
|
||||
stop, playback_time=25.0
|
||||
|
|
|
@ -2,3 +2,4 @@ description, duration=15.0
|
|||
set-restriction, playback_time=5.0, restriction-caps="video/x-raw,height=480,width=854"
|
||||
set-restriction, playback_time=10.0, restriction-caps="video/x-raw,height=720,width=1280"
|
||||
eos, playback_time=15.0
|
||||
stop, playback_time=15.0
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
description, duration=2.0
|
||||
video-request-key-unit, playback_time=1.0, direction=upstream, running_time=-1.0, all-header=true, count=1
|
||||
eos, playback_time=2.0
|
||||
stop, playback_time=2.0
|
||||
|
|
|
@ -3,3 +3,4 @@ pause, name=First-pause, playback_time=1.0, duration=1.0
|
|||
pause, name=Second-pause, playback_time=3.0, duration=5.0
|
||||
pause, name=Third-pause, playback_time=5.0, duration=1.0
|
||||
eos, name=Done-testing, playback_time=7.0
|
||||
stop, playback_time=7.0
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
description, duration=15.0
|
||||
eos, playback_time=15.0
|
||||
stop, playback_time=15.0
|
||||
|
|
|
@ -2,4 +2,4 @@ description, seek=true
|
|||
pause, playback_time=0.0
|
||||
seek, playback_time=0.0, start=position+0.1, repeat="min(10, (duration - 0.5))/0.1", flags=accurate+flush
|
||||
play, playback_time=0.0
|
||||
eos, name="EOS", playback_time=1.0
|
||||
stop, playback_time=1.0
|
||||
|
|
|
@ -2,4 +2,4 @@ description, seek=true, duration=30
|
|||
seek, name=Backward-seek, playback_time="min(5.0, (duration/4))", rate=1.0, start=0.0, flags=accurate+flush
|
||||
seek, name=Backward-seek, playback_time="min(10.0, 2*(duration/4))", rate=1.0, start="min(5.0, duration/4)", flags=accurate+flush
|
||||
seek, name=Backward-seek, playback_time="min(15.0, 3*(duration/4))", rate=1.0, start="min(10.0, 2*(duration/4))", flags=accurate+flush
|
||||
eos, playback_time="min(15.0, 3*(duration/4))"
|
||||
stop, playback_time="min(15.0, 3*(duration/4))"
|
||||
|
|
|
@ -2,4 +2,4 @@ description, seek=true, duration=20
|
|||
seek, name=First-forward-seek, playback_time="min(5.0, (duration/8))", start="min(10, 2*(duration/8))", flags=accurate+flush
|
||||
seek, name=Second-forward-seek, playback_time="min(15.0, 3*(duration/8))", start="min(20, 4*(duration/8))", flags=accurate+flush
|
||||
seek, name=Third-forward-seek, playback_time="min(25, 5*(duration/8))", start="min(30.0, 6*(duration/8))", flags=accurate+flush
|
||||
eos, name="EOS", playback_time=35.0
|
||||
stop, playback_time=35.0
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
description, summary="Change audio track at 5 second to the second audio track", min-audio-track=2
|
||||
description, summary="Change audio track at 5 second to the second audio track", min-audio-track=2, duration=10.0
|
||||
switch-track, name=Next-audio-track, playback_time=5.0, type=audio, index=(string)+1
|
||||
stop, playback_time=10.0
|
||||
|
|
Loading…
Reference in a new issue