mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 19:55:32 +00:00
validate: Add a switch_audio_track_while_paused scenario
And run it as a default
This commit is contained in:
parent
a62560bc81
commit
3281add6b5
3 changed files with 19 additions and 0 deletions
|
@ -14,6 +14,7 @@ scenarios_DATA = simple_seeks.scenario \
|
|||
adaptive_video_framerate_size.scenario\
|
||||
force_key_unit.scenario\
|
||||
seek_with_stop.scenario\
|
||||
switch_audio_track_while_paused.scenario\
|
||||
switch_audio_track.scenario
|
||||
|
||||
EXTRA_DIST = simple_seeks.scenario \
|
||||
|
@ -31,4 +32,5 @@ EXTRA_DIST = simple_seeks.scenario \
|
|||
adaptive_video_framerate_size.scenario\
|
||||
force_key_unit.scenario\
|
||||
seek_with_stop.scenario\
|
||||
switch_audio_track_while_paused.scenario\
|
||||
switch_audio_track.scenario
|
||||
|
|
11
validate/data/switch_audio_track_while_paused.scenario
Normal file
11
validate/data/switch_audio_track_while_paused.scenario
Normal file
|
@ -0,0 +1,11 @@
|
|||
description, summary="Change audio track while pipeline is paused", min-audio-track=2, duration=6.0
|
||||
pause, playback_time=1.0;
|
||||
|
||||
# Wait so that humans can see the pipeline is paused
|
||||
wait, duration=0.5
|
||||
switch-track, name=Next-audio-track, type=audio, index=(string)+1
|
||||
|
||||
# Wait so that humans can see the pipeline is paused
|
||||
wait, duration=0.5
|
||||
play;
|
||||
stop, playback_time=5.0
|
|
@ -153,17 +153,23 @@ G_V_SCENARIOS = {Protocols.FILE: ["play_15s",
|
|||
"seek_forward",
|
||||
"seek_backward",
|
||||
"seek_with_stop",
|
||||
"switch_audio_track",
|
||||
"switch_audio_track_while_paused",
|
||||
"scrub_forward_seeking"],
|
||||
Protocols.HTTP: ["play_15s",
|
||||
"fast_forward",
|
||||
"seek_forward",
|
||||
"seek_backward",
|
||||
"seek_with_stop",
|
||||
"switch_audio_track",
|
||||
"switch_audio_track_while_paused",
|
||||
"reverse_playback"],
|
||||
Protocols.HLS: ["play_15s",
|
||||
"fast_forward",
|
||||
"seek_forward",
|
||||
"seek_with_stop",
|
||||
"switch_audio_track",
|
||||
"switch_audio_track_while_paused",
|
||||
"seek_backward"],
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue