gst/adder/gstadder.c: Use GST_DEBUG_FUNCPTR and remove some extra vlnak lines.

Original commit message from CVS:
* gst/adder/gstadder.c:
Use GST_DEBUG_FUNCPTR and remove some extra vlnak lines.
This commit is contained in:
Stefan Kost 2008-06-29 13:45:27 +00:00
parent 2734b6da77
commit e0d27d23cc
2 changed files with 11 additions and 8 deletions

View file

@ -1,3 +1,8 @@
2008-06-29 Stefan Kost <ensonic@users.sf.net>
* gst/adder/gstadder.c:
Use GST_DEBUG_FUNCPTR and remove some extra vlnak lines.
2008-06-27 Stefan Kost <ensonic@users.sf.net> 2008-06-27 Stefan Kost <ensonic@users.sf.net>
* ChangeLog: * ChangeLog:

View file

@ -193,7 +193,6 @@ static GstCaps *
gst_adder_sink_getcaps (GstPad * pad) gst_adder_sink_getcaps (GstPad * pad)
{ {
GstAdder *adder; GstAdder *adder;
GstCaps *result, *peercaps, *sinkcaps; GstCaps *result, *peercaps, *sinkcaps;
adder = GST_ADDER (GST_PAD_PARENT (pad)); adder = GST_ADDER (GST_PAD_PARENT (pad));
@ -706,7 +705,7 @@ gst_adder_class_init (GstAdderClass * klass)
gobject_class = (GObjectClass *) klass; gobject_class = (GObjectClass *) klass;
gobject_class->finalize = gst_adder_finalize; gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_adder_finalize);
gstelement_class = (GstElementClass *) klass; gstelement_class = (GstElementClass *) klass;
@ -720,9 +719,10 @@ gst_adder_class_init (GstAdderClass * klass)
parent_class = g_type_class_peek_parent (klass); parent_class = g_type_class_peek_parent (klass);
gstelement_class->request_new_pad = gst_adder_request_new_pad; gstelement_class->request_new_pad =
gstelement_class->release_pad = gst_adder_release_pad; GST_DEBUG_FUNCPTR (gst_adder_request_new_pad);
gstelement_class->change_state = gst_adder_change_state; gstelement_class->release_pad = GST_DEBUG_FUNCPTR (gst_adder_release_pad);
gstelement_class->change_state = GST_DEBUG_FUNCPTR (gst_adder_change_state);
} }
static void static void
@ -733,6 +733,7 @@ gst_adder_init (GstAdder * adder)
template = gst_static_pad_template_get (&gst_adder_src_template); template = gst_static_pad_template_get (&gst_adder_src_template);
adder->srcpad = gst_pad_new_from_template (template, "src"); adder->srcpad = gst_pad_new_from_template (template, "src");
gst_object_unref (template); gst_object_unref (template);
gst_pad_set_getcaps_function (adder->srcpad, gst_pad_set_getcaps_function (adder->srcpad,
GST_DEBUG_FUNCPTR (gst_pad_proxy_getcaps)); GST_DEBUG_FUNCPTR (gst_pad_proxy_getcaps));
gst_pad_set_setcaps_function (adder->srcpad, gst_pad_set_setcaps_function (adder->srcpad,
@ -769,11 +770,8 @@ gst_adder_request_new_pad (GstElement * element, GstPadTemplate * templ,
const gchar * unused) const gchar * unused)
{ {
gchar *name; gchar *name;
GstAdder *adder; GstAdder *adder;
GstPad *newpad; GstPad *newpad;
gint padcount; gint padcount;
if (templ->direction != GST_PAD_SINK) if (templ->direction != GST_PAD_SINK)