removed a check that was too restrictive. any errors that are not caught here will...
authorAndy Wingo <wingo@pobox.com>
Sat, 19 Jan 2002 06:49:06 +0000 (06:49 +0000)
committerAndy Wingo <wingo@pobox.com>
Sat, 19 Jan 2002 06:49:06 +0000 (06:49 +0000)
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

index 3e98112..00dbd2b 100644 (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 */