mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-01 06:01:04 +00:00
702992cf7a
+ Add need-clock-synk to switch_audio_track_while_paused as it relies on the clock sync to pause and then display subtitles
11 lines
390 B
Text
11 lines
390 B
Text
description, summary="Change audio track while pipeline is paused", min-audio-track=2, duration=6.0, need-clock-sync=true
|
|
pause, playback_time=1.0;
|
|
|
|
# Wait so that humans can see the pipeline is paused
|
|
wait, duration=0.5
|
|
switch-track, name=Next-audio-track, type=audio, index=(string)+1
|
|
|
|
# Wait so that humans can see the pipeline is paused
|
|
wait, duration=0.5
|
|
play;
|
|
stop, playback_time=5.0
|