From 0199cd5dbf346307a107858ddf15712152ebe62b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 20 Dec 2013 14:30:22 +0100 Subject: [PATCH] funnel: Setting the PROXY_CAPS flag on the srcpad does not make much sense 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 | 2 -- 1 file changed, 2 deletions(-) diff --git a/plugins/elements/gstfunnel.c b/plugins/elements/gstfunnel.c index 11dac55..6a7dde5 100644 --- a/plugins/elements/gstfunnel.c +++ b/plugins/elements/gstfunnel.c @@ -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); } -- 2.7.4