funnel->srcpad = gst_pad_new_from_static_template (&funnel_src_template,
"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);
}
gst_pad_set_event_function (sinkpad,
GST_DEBUG_FUNCPTR (gst_funnel_sink_event));
+ GST_OBJECT_FLAG_SET (sinkpad, GST_PAD_FLAG_PROXY_CAPS);
+ GST_OBJECT_FLAG_SET (sinkpad, GST_PAD_FLAG_PROXY_ALLOCATION);
+
gst_pad_set_active (sinkpad, TRUE);
gst_element_add_pad (element, sinkpad);