mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
This is all a quick hack...
Original commit message from CVS: This is all a quick hack...
This commit is contained in:
parent
442ca0a61f
commit
bac184e6fb
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ dynamic_connect (GstElement * element, GstPad * newpad, gpointer data)
|
|||
return;
|
||||
}
|
||||
}
|
||||
if (!GST_PAD_IS_CONNECTED (dc->target_pad)) {
|
||||
if (!GST_PAD_IS_CONNECTED (dc->target_pad) && !GST_PAD_IS_CONNECTED (newpad)) {
|
||||
gst_element_set_state (dc->pipeline, GST_STATE_PAUSED);
|
||||
if (!gst_pad_connect (newpad, dc->target_pad) && warn) {
|
||||
g_warning ("could not connect %s:%s to %s:%s", GST_DEBUG_PAD_NAME (newpad),
|
||||
|
|
Loading…
Reference in a new issue