mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-13 02:45:35 +00:00
validate: Add a scenario to disable subtitle track while paused
This commit is contained in:
parent
fbcee57902
commit
15cceffcf1
2 changed files with 9 additions and 0 deletions
|
@ -17,6 +17,7 @@ scenarios_DATA = simple_seeks.scenario \
|
|||
switch_audio_track_while_paused.scenario\
|
||||
switch_subtitle_track.scenario\
|
||||
switch_subtitle_track_while_paused.scenario\
|
||||
disable_subtitle_track_while_paused.scenario\
|
||||
switch_audio_track.scenario
|
||||
|
||||
EXTRA_DIST = simple_seeks.scenario \
|
||||
|
@ -37,4 +38,5 @@ EXTRA_DIST = simple_seeks.scenario \
|
|||
switch_audio_track_while_paused.scenario\
|
||||
switch_subtitle_track.scenario\
|
||||
switch_subtitle_track_while_paused.scenario\
|
||||
disable_subtitle_track_while_paused.scenario\
|
||||
switch_audio_track.scenario
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
description, summary="Disable subtitle track while pipeline is PAUSED", min-subtitle-track=2, duration=5.0
|
||||
pause;
|
||||
wait, duration=0.5
|
||||
switch-track, name="Disable subtitle", type=text, disable=true
|
||||
wait, duration=0.5
|
||||
play;
|
||||
stop, playback_time=2.0
|
Loading…
Reference in a new issue