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.
This commit is contained in:
Andy Wingo 2002-01-19 06:49:06 +00:00
parent a43702feb0
commit d4176eac72

View file

@ -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 */