From b093995aa90655418907fa204243ae6d7d591feb Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Wed, 26 Jul 2006 10:52:05 +0000 Subject: 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 --- ChangeLog | 9 +++++++++ gst/gdp/gstgdpdepay.c | 4 ---- tests/check/elements/gdpdepay.c | 1 - tests/check/elements/gdppay.c | 1 - 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7fc30e96..35f881d8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2006-07-26 Thomas Vander Stichele + + * 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 + 2006-07-24 Sebastien Moutte * sys/directsound/gstdirectsoundsink.h: diff --git a/gst/gdp/gstgdpdepay.c b/gst/gdp/gstgdpdepay.c index d3071a75..69098995 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 ff24ffdb..53b9f85e 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 8d8712dd..a89792e3 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 -- cgit v1.2.1