gst/gdp/gstgdpdepay.c: proxying get/set caps is the wrong thing to do, since we reall...
authorThomas Vander Stichele <thomas@apestaart.org>
Wed, 26 Jul 2006 10:52:05 +0000 (10:52 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Tue, 11 Sep 2012 00:54:29 +0000 (01:54 +0100)
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
tests/check/elements/gdpdepay.c
tests/check/elements/gdppay.c

index d3071a7..6909899 100644 (file)
@@ -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);
index ff24ffd..53b9f85 100644 (file)
@@ -24,7 +24,6 @@
 #include <gst/check/gstcheck.h>
 #include <gst/dataprotocol/dataprotocol.h>
 
-GList *buffers = NULL;
 gboolean have_eos = FALSE;
 
 /* For ease of programming we use globals to keep refs for our floating
index 8d8712d..a89792e 100644 (file)
@@ -24,7 +24,6 @@
 #include <gst/check/gstcheck.h>
 #include <gst/dataprotocol/dataprotocol.h>
 
-GList *buffers = NULL;
 gboolean have_eos = FALSE;
 
 /* For ease of programming we use globals to keep refs for our floating