From 2607f126de6efc85587a10da4f018d03185cf738 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Wed, 26 Jul 2006 10:52:05 +0000 Subject: [PATCH] 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 --- gst/gdp/gstgdpdepay.c | 4 ---- tests/check/elements/gdpdepay.c | 1 - tests/check/elements/gdppay.c | 1 - 3 files changed, 6 deletions(-) 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 -- 2.34.1