validate: scenarios: set need clock sync for switching subtitle track
authoreunhae choi <eunhae1.choi@samsung.com>
Wed, 16 Sep 2015 08:12:17 +0000 (17:12 +0900)
committerThibault Saunier <tsaunier@gnome.org>
Wed, 16 Sep 2015 08:59:03 +0000 (10:59 +0200)
As soon as the track is changed, the pipeline state is set to NULL
by execution 'stop' action even if there is a 'playback-time' with 5sec.
If the AV sink is not synchronized,
audio fakesink and video fakesink has different position value.
When the validate request the position information of pipeline
to do 'stop' action, the audio fakesink response of the position query
with the bigger value than 5sec.

https://bugzilla.gnome.org/show_bug.cgi?id=755101

validate/data/scenarios/switch_subtitle_track.scenario
validate/data/scenarios/switch_subtitle_track_while_paused.scenario

index 83ce3d6..216e7ce 100644 (file)
@@ -1,3 +1,3 @@
-description, summary="Change subtitle track at 1 second while playing back", min-subtitle-track=2, duration=5.0
+description, summary="Change subtitle track at 1 second while playing back", min-subtitle-track=2, duration=5.0, need-clock-sync=true
 switch-track, playback-time=1.0, type=text, index=(string)+1
 stop, playback-time=5.0
index 15c4ec7..e90f579 100644 (file)
@@ -1,4 +1,4 @@
-description, summary="Change subtitle track while pipeline is PAUSED", min-subtitle-track=2, duration=5.0, handles-states=true
+description, summary="Change subtitle track while pipeline is PAUSED", min-subtitle-track=2, duration=5.0, handles-states=true, need-clock-sync=true
 pause;
 wait, duration=0.5
 switch-track, type=text, index=(string)+1