mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-01 13:08:49 +00:00
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
This commit is contained in:
parent
82f6ef48e9
commit
9e1cea6c4b
2 changed files with 2 additions and 2 deletions
|
@ -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
|
switch-track, playback-time=1.0, type=text, index=(string)+1
|
||||||
stop, playback-time=5.0
|
stop, playback-time=5.0
|
||||||
|
|
|
@ -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;
|
pause;
|
||||||
wait, duration=0.5
|
wait, duration=0.5
|
||||||
switch-track, type=text, index=(string)+1
|
switch-track, type=text, index=(string)+1
|
||||||
|
|
Loading…
Reference in a new issue