mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
playbin2/playsink: Set audiotee to PAUSED state in all cases. Fixes #565105.
This commit is contained in:
parent
00654ba62b
commit
bbd66c6baf
1 changed files with 2 additions and 0 deletions
|
@ -1625,6 +1625,8 @@ gst_play_sink_request_pad (GstPlaySink * playsink, GstPlaySinkType type)
|
|||
gst_element_get_request_pad (playsink->audio_tee, "src%d");
|
||||
gst_bin_add (GST_BIN_CAST (playsink), playsink->audio_tee);
|
||||
gst_element_set_state (playsink->audio_tee, GST_STATE_PAUSED);
|
||||
} else {
|
||||
gst_element_set_state (playsink->audio_tee, GST_STATE_PAUSED);
|
||||
}
|
||||
if (!playsink->audio_pad) {
|
||||
GST_LOG_OBJECT (playsink, "ghosting tee sinkpad");
|
||||
|
|
Loading…
Reference in a new issue