Commit 375c364f authored by Steve Fink's avatar Steve Fink Committed by Tim-Philipp Müller

src/gstplugin.c: Use GST_DEBUG_FUNCPTR() macros where it makes sense.

Original commit message from CVS:
Patch by: Steve Fink  <sphink gmail com>
* src/gstplugin.c:
Use GST_DEBUG_FUNCPTR() macros where it makes sense.
parent 61b0ee21
2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
Patch by: Steve Fink <sphink gmail com>
* src/gstplugin.c:
Use GST_DEBUG_FUNCPTR() macros where it makes sense.
2007-07-19 Stefan Kost <ensonic@users.sf.net>
* configure.ac:
......
......@@ -152,17 +152,21 @@ gst_plugin_template_init (GstPluginTemplate * filter,
filter->sinkpad =
gst_pad_new_from_template (gst_element_class_get_pad_template (klass,
"sink"), "sink");
gst_pad_set_setcaps_function (filter->sinkpad, gst_plugin_template_set_caps);
gst_pad_set_getcaps_function (filter->sinkpad, gst_pad_proxy_getcaps);
gst_pad_set_setcaps_function (filter->sinkpad,
GST_DEBUG_FUNCPTR(gst_plugin_template_set_caps));
gst_pad_set_getcaps_function (filter->sinkpad,
GST_DEBUG_FUNCPTR(gst_pad_proxy_getcaps));
filter->srcpad =
gst_pad_new_from_template (gst_element_class_get_pad_template (klass,
"src"), "src");
gst_pad_set_getcaps_function (filter->srcpad, gst_pad_proxy_getcaps);
gst_pad_set_getcaps_function (filter->srcpad,
GST_DEBUG_FUNCPTR(gst_pad_proxy_getcaps));
gst_element_add_pad (GST_ELEMENT (filter), filter->sinkpad);
gst_element_add_pad (GST_ELEMENT (filter), filter->srcpad);
gst_pad_set_chain_function (filter->sinkpad, gst_plugin_template_chain);
gst_pad_set_chain_function (filter->sinkpad,
GST_DEBUG_FUNCPTR(gst_plugin_template_chain));
filter->silent = FALSE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment