From 2f310eb2f380580541a4c5c90298668e2c0c3c89 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Sun, 14 Apr 2002 13:57:03 +0000 Subject: [PATCH] wtay's fixes Original commit message from CVS: wtay's fixes --- gst/gstparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/gstparse.c b/gst/gstparse.c index 6b8c789566..c3e273a721 100644 --- a/gst/gstparse.c +++ b/gst/gstparse.c @@ -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),