mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 11:11:08 +00:00
validate: Add a scenario that switches state many intensively
+ Use it by default in the launcher tests
This commit is contained in:
parent
384686a7f7
commit
dae0c4ef81
3 changed files with 43 additions and 0 deletions
|
@ -18,6 +18,7 @@ scenarios_DATA = simple_seeks.scenario \
|
||||||
switch_subtitle_track.scenario\
|
switch_subtitle_track.scenario\
|
||||||
switch_subtitle_track_while_paused.scenario\
|
switch_subtitle_track_while_paused.scenario\
|
||||||
disable_subtitle_track_while_paused.scenario\
|
disable_subtitle_track_while_paused.scenario\
|
||||||
|
change_state_intensive.scenario\
|
||||||
switch_audio_track.scenario
|
switch_audio_track.scenario
|
||||||
|
|
||||||
EXTRA_DIST = simple_seeks.scenario \
|
EXTRA_DIST = simple_seeks.scenario \
|
||||||
|
@ -39,4 +40,5 @@ EXTRA_DIST = simple_seeks.scenario \
|
||||||
switch_subtitle_track.scenario\
|
switch_subtitle_track.scenario\
|
||||||
switch_subtitle_track_while_paused.scenario\
|
switch_subtitle_track_while_paused.scenario\
|
||||||
disable_subtitle_track_while_paused.scenario\
|
disable_subtitle_track_while_paused.scenario\
|
||||||
|
change_state_intensive.scenario\
|
||||||
switch_audio_track.scenario
|
switch_audio_track.scenario
|
||||||
|
|
40
validate/data/change_state_intensive.scenario
Normal file
40
validate/data/change_state_intensive.scenario
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
description, duration=0, summary="Set state to NULL->PLAYING->NULL 20 times"
|
||||||
|
set-state, state="null"
|
||||||
|
set-state, state="playing"
|
||||||
|
set-state, state="null"
|
||||||
|
set-state, state="playing"
|
||||||
|
set-state, state="null"
|
||||||
|
set-state, state="playing"
|
||||||
|
set-state, state="null"
|
||||||
|
set-state, state="playing"
|
||||||
|
set-state, state="null"
|
||||||
|
set-state, state="playing"
|
||||||
|
set-state, state="null"
|
||||||
|
set-state, state="playing"
|
||||||
|
set-state, state="null"
|
||||||
|
set-state, state="playing"
|
||||||
|
set-state, state="null"
|
||||||
|
set-state, state="playing"
|
||||||
|
set-state, state="null"
|
||||||
|
set-state, state="playing"
|
||||||
|
set-state, state="null"
|
||||||
|
set-state, state="playing"
|
||||||
|
set-state, state="null"
|
||||||
|
set-state, state="playing"
|
||||||
|
set-state, state="null"
|
||||||
|
set-state, state="playing"
|
||||||
|
set-state, state="null"
|
||||||
|
set-state, state="playing"
|
||||||
|
set-state, state="null"
|
||||||
|
set-state, state="playing"
|
||||||
|
set-state, state="null"
|
||||||
|
set-state, state="playing"
|
||||||
|
set-state, state="null"
|
||||||
|
set-state, state="playing"
|
||||||
|
set-state, state="null"
|
||||||
|
set-state, state="playing"
|
||||||
|
set-state, state="null"
|
||||||
|
set-state, state="playing"
|
||||||
|
set-state, state="null"
|
||||||
|
set-state, state="playing"
|
||||||
|
stop;
|
|
@ -168,6 +168,7 @@ G_V_SCENARIOS = ["play_15s",
|
||||||
"switch_subtitle_track",
|
"switch_subtitle_track",
|
||||||
"switch_subtitle_track_while_paused",
|
"switch_subtitle_track_while_paused",
|
||||||
"disable_subtitle_track_while_paused",
|
"disable_subtitle_track_while_paused",
|
||||||
|
"change_state_intensive",
|
||||||
"scrub_forward_seeking"]
|
"scrub_forward_seeking"]
|
||||||
|
|
||||||
G_V_PROTOCOL_VIDEO_RESTRICTION_CAPS = {
|
G_V_PROTOCOL_VIDEO_RESTRICTION_CAPS = {
|
||||||
|
|
Loading…
Reference in a new issue