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
This commit is contained in:
Thomas Vander Stichele 2006-07-26 10:52:05 +00:00
parent 454c252335
commit b093995aa9
4 changed files with 9 additions and 6 deletions

View file

@ -1,3 +1,12 @@
2006-07-26 Thomas Vander Stichele <thomas at apestaart dot org>
* 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 <sebastien@moutte.net> 2006-07-24 Sebastien Moutte <sebastien@moutte.net>
* sys/directsound/gstdirectsoundsink.h: * sys/directsound/gstdirectsoundsink.h:

View file

@ -119,10 +119,6 @@ gst_gdp_depay_init (GstGDPDepay * gdpdepay, GstGDPDepayClass * g_class)
{ {
gdpdepay->sinkpad = gdpdepay->sinkpad =
gst_pad_new_from_static_template (&gdp_depay_sink_template, "sink"); 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_pad_set_chain_function (gdpdepay->sinkpad,
GST_DEBUG_FUNCPTR (gst_gdp_depay_chain)); GST_DEBUG_FUNCPTR (gst_gdp_depay_chain));
gst_element_add_pad (GST_ELEMENT (gdpdepay), gdpdepay->sinkpad); gst_element_add_pad (GST_ELEMENT (gdpdepay), gdpdepay->sinkpad);

View file

@ -24,7 +24,6 @@
#include <gst/check/gstcheck.h> #include <gst/check/gstcheck.h>
#include <gst/dataprotocol/dataprotocol.h> #include <gst/dataprotocol/dataprotocol.h>
GList *buffers = NULL;
gboolean have_eos = FALSE; gboolean have_eos = FALSE;
/* For ease of programming we use globals to keep refs for our floating /* For ease of programming we use globals to keep refs for our floating

View file

@ -24,7 +24,6 @@
#include <gst/check/gstcheck.h> #include <gst/check/gstcheck.h>
#include <gst/dataprotocol/dataprotocol.h> #include <gst/dataprotocol/dataprotocol.h>
GList *buffers = NULL;
gboolean have_eos = FALSE; gboolean have_eos = FALSE;
/* For ease of programming we use globals to keep refs for our floating /* For ease of programming we use globals to keep refs for our floating