Original commit message from CVS:
* gst/adder/gstadder.c:
Use GST_DEBUG_FUNCPTR and remove some extra vlnak lines.
+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>
* ChangeLog:
2008-06-27 Stefan Kost <ensonic@users.sf.net>
* ChangeLog:
gst_adder_sink_getcaps (GstPad * pad)
{
GstAdder *adder;
gst_adder_sink_getcaps (GstPad * pad)
{
GstAdder *adder;
GstCaps *result, *peercaps, *sinkcaps;
adder = GST_ADDER (GST_PAD_PARENT (pad));
GstCaps *result, *peercaps, *sinkcaps;
adder = GST_ADDER (GST_PAD_PARENT (pad));
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;
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->release_pad = gst_adder_release_pad;
- gstelement_class->change_state = gst_adder_change_state;
+ gstelement_class->request_new_pad =
+ GST_DEBUG_FUNCPTR (gst_adder_request_new_pad);
+ gstelement_class->release_pad = GST_DEBUG_FUNCPTR (gst_adder_release_pad);
+ gstelement_class->change_state = GST_DEBUG_FUNCPTR (gst_adder_change_state);
template = gst_static_pad_template_get (&gst_adder_src_template);
adder->srcpad = gst_pad_new_from_template (template, "src");
gst_object_unref (template);
template = gst_static_pad_template_get (&gst_adder_src_template);
adder->srcpad = gst_pad_new_from_template (template, "src");
gst_object_unref (template);
gst_pad_set_getcaps_function (adder->srcpad,
GST_DEBUG_FUNCPTR (gst_pad_proxy_getcaps));
gst_pad_set_setcaps_function (adder->srcpad,
gst_pad_set_getcaps_function (adder->srcpad,
GST_DEBUG_FUNCPTR (gst_pad_proxy_getcaps));
gst_pad_set_setcaps_function (adder->srcpad,
const gchar * unused)
{
gchar *name;
const gchar * unused)
{
gchar *name;
gint padcount;
if (templ->direction != GST_PAD_SINK)
gint padcount;
if (templ->direction != GST_PAD_SINK)