funnel: Setting the PROXY_CAPS flag on the srcpad does not make much sense
authorSebastian Dröge <sebastian@centricular.com>
Fri, 20 Dec 2013 13:30:22 +0000 (14:30 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 20 Dec 2013 13:30:22 +0000 (14:30 +0100)
funnel outputs whatever one of the upstreams currently outputs, a caps
query to a random upstream does not give the right answer here.

plugins/elements/gstfunnel.c

index 11dac55..6a7dde5 100644 (file)
@@ -121,8 +121,6 @@ gst_funnel_init (GstFunnel * funnel)
       "src");
   gst_pad_use_fixed_caps (funnel->srcpad);
 
-  GST_OBJECT_FLAG_SET (funnel->srcpad, GST_PAD_FLAG_PROXY_CAPS);
-
   gst_element_add_pad (GST_ELEMENT (funnel), funnel->srcpad);
 }