From: Thomas Vander Stichele Date: Wed, 26 Jul 2006 10:52:05 +0000 (+0000) Subject: gst/gdp/gstgdpdepay.c: proxying get/set caps is the wrong thing to do, since we reall... X-Git-Tag: 1.19.3~511^2~11720 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2607f126de6efc85587a10da4f018d03185cf738;p=platform%2Fupstream%2Fgstreamer.git gst/gdp/gstgdpdepay.c: proxying get/set caps is the wrong thing to do, since we really do change caps quite fundament... Original commit message from CVS: * gst/gdp/gstgdpdepay.c: (gst_gdp_depay_init): proxying get/set caps is the wrong thing to do, since we really do change caps quite fundamentally * tests/check/elements/gdpdepay.c: * tests/check/elements/gdppay.c: remove declaration of buffers, it's already done in gstcheck.h --- diff --git a/gst/gdp/gstgdpdepay.c b/gst/gdp/gstgdpdepay.c index d3071a754b..6909899532 100644 --- a/gst/gdp/gstgdpdepay.c +++ b/gst/gdp/gstgdpdepay.c @@ -119,10 +119,6 @@ gst_gdp_depay_init (GstGDPDepay * gdpdepay, GstGDPDepayClass * g_class) { gdpdepay->sinkpad = gst_pad_new_from_static_template (&gdp_depay_sink_template, "sink"); - gst_pad_set_setcaps_function (gdpdepay->sinkpad, - GST_DEBUG_FUNCPTR (gst_pad_proxy_setcaps)); - gst_pad_set_getcaps_function (gdpdepay->sinkpad, - GST_DEBUG_FUNCPTR (gst_pad_proxy_getcaps)); gst_pad_set_chain_function (gdpdepay->sinkpad, GST_DEBUG_FUNCPTR (gst_gdp_depay_chain)); gst_element_add_pad (GST_ELEMENT (gdpdepay), gdpdepay->sinkpad); diff --git a/tests/check/elements/gdpdepay.c b/tests/check/elements/gdpdepay.c index ff24ffdb19..53b9f85eeb 100644 --- a/tests/check/elements/gdpdepay.c +++ b/tests/check/elements/gdpdepay.c @@ -24,7 +24,6 @@ #include #include -GList *buffers = NULL; gboolean have_eos = FALSE; /* For ease of programming we use globals to keep refs for our floating diff --git a/tests/check/elements/gdppay.c b/tests/check/elements/gdppay.c index 8d8712dd4c..a89792e35b 100644 --- a/tests/check/elements/gdppay.c +++ b/tests/check/elements/gdppay.c @@ -24,7 +24,6 @@ #include #include -GList *buffers = NULL; gboolean have_eos = FALSE; /* For ease of programming we use globals to keep refs for our floating