diff options
author | Steve Fink <sphink@gmail.com> | 2007-07-25 22:24:53 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2007-07-25 22:24:53 +0000 |
commit | 375c364f06b32bdf74428d90160cc424e4a54946 (patch) | |
tree | 021167d4ce8c4ab46a3d8b34926e3b936212ae70 /gst-plugin | |
parent | 61b0ee21107fcb7b33af827d4ccb59430dbc11b2 (diff) |
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.
Diffstat (limited to 'gst-plugin')
-rw-r--r-- | gst-plugin/ChangeLog | 7 | ||||
-rw-r--r-- | gst-plugin/src/gstplugin.c | 12 |
2 files changed, 15 insertions, 4 deletions
diff --git a/gst-plugin/ChangeLog b/gst-plugin/ChangeLog index a7c1c84..ec02ffa 100644 --- a/gst-plugin/ChangeLog +++ b/gst-plugin/ChangeLog @@ -1,3 +1,10 @@ +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: diff --git a/gst-plugin/src/gstplugin.c b/gst-plugin/src/gstplugin.c index 7787328..9bc4e07 100644 --- a/gst-plugin/src/gstplugin.c +++ b/gst-plugin/src/gstplugin.c @@ -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; } |