From d4176eac72a363ed64c0605ce1fcc8d790ffb41e Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Sat, 19 Jan 2002 06:49:06 +0000 Subject: [PATCH] removed a check that was too restrictive. any errors that are not caught here will be caught at runtime. Original commit message from CVS: removed a check that was too restrictive. any errors that are not caught here will be caught at runtime. --- gst/gstpad.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/gst/gstpad.c b/gst/gstpad.c index 3e9811207f..00dbd2b77b 100644 --- a/gst/gstpad.c +++ b/gst/gstpad.c @@ -624,9 +624,6 @@ gst_pad_connect_filtered (GstPad *srcpad, GstPad *sinkpad, GstCaps *filtercaps) g_warning ("connecting pads with different scheds requires exactly one decoupled element (queue)\n"); return FALSE; } - } else if (realsrc->sched || realsink->sched) { - g_warning ("you can't connect to a non-managed element"); - return FALSE; } /* check for reversed directions and swap if necessary */