From 9e1cea6c4b9a070fe1e8b65f9a5b21fd14746a4a Mon Sep 17 00:00:00 2001 From: eunhae choi Date: Wed, 16 Sep 2015 17:12:17 +0900 Subject: [PATCH] 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 --- validate/data/scenarios/switch_subtitle_track.scenario | 2 +- .../data/scenarios/switch_subtitle_track_while_paused.scenario | 2 +- 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 83ce3d651d..216e7ce91f 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 15c4ec71be..e90f5795f1 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