removed another overzealous check, sigh

Original commit message from CVS:
removed another overzealous check, sigh
This commit is contained in:
Andy Wingo 2002-01-19 15:22:19 +00:00
parent d4176eac72
commit 8df3a20716

View file

@ -617,10 +617,7 @@ gst_pad_connect_filtered (GstPad *srcpad, GstPad *sinkpad, GstCaps *filtercaps)
if (GST_FLAG_IS_SET (GST_PAD_PARENT (realsink), GST_ELEMENT_DECOUPLED))
num_decoupled++;
if (realsrc->sched == realsink->sched && num_decoupled != 0) {
g_warning ("cannot connect pads from decoupled elements with the same sched\n");
return FALSE;
} else if (realsrc->sched != realsink->sched && num_decoupled != 1) {
if (realsrc->sched != realsink->sched && num_decoupled != 1) {
g_warning ("connecting pads with different scheds requires exactly one decoupled element (queue)\n");
return FALSE;
}