validate: Add a scenario to disable subtitle track while paused

This commit is contained in:
Thibault Saunier 2014-05-02 18:50:41 +02:00
parent fbcee57902
commit 15cceffcf1
2 changed files with 9 additions and 0 deletions

View file

@ -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

View file

@ -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