summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreunhae choi <eunhae1.choi@samsung.com>2015-09-16 17:12:17 +0900
committerThibault Saunier <tsaunier@gnome.org>2015-09-16 10:59:03 +0200
commit9e1cea6c4b9a070fe1e8b65f9a5b21fd14746a4a (patch)
tree06b96047e94b148737f7a9a0e46911eeb02d8c95
parent82f6ef48e98663660fcda49d21eb2e64f8e2a013 (diff)
validate: scenarios: set need clock sync for switching subtitle track
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
-rw-r--r--validate/data/scenarios/switch_subtitle_track.scenario2
-rw-r--r--validate/data/scenarios/switch_subtitle_track_while_paused.scenario2
2 files changed, 2 insertions, 2 deletions
diff --git a/validate/data/scenarios/switch_subtitle_track.scenario b/validate/data/scenarios/switch_subtitle_track.scenario
index 83ce3d6..216e7ce 100644
--- a/validate/data/scenarios/switch_subtitle_track.scenario
+++ b/validate/data/scenarios/switch_subtitle_track.scenario
@@ -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
diff --git a/validate/data/scenarios/switch_subtitle_track_while_paused.scenario b/validate/data/scenarios/switch_subtitle_track_while_paused.scenario
index 15c4ec7..e90f579 100644
--- a/validate/data/scenarios/switch_subtitle_track_while_paused.scenario
+++ b/validate/data/scenarios/switch_subtitle_track_while_paused.scenario
@@ -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