[gst-cvs] gst-plugins-bad: Remove GST_DEBUG_FUNCPTR where they're pointless
Sebastian Dröge
slomo at kemper.freedesktop.org
Tue Nov 3 09:14:37 PST 2009
Module: gst-plugins-bad
Branch: master
Commit: d20e30f3481be0d7610093da549707a2a6749f46
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=d20e30f3481be0d7610093da549707a2a6749f46
Author: Tim-Philipp Müller <tim.muller at collabora.co.uk>
Date: Tue Nov 3 18:11:13 2009 +0100
Remove GST_DEBUG_FUNCPTR where they're pointless
There's not much point in using GST_DEBUG_FUNCPTR with GObject
virtual functions such as get_property, set_propery, finalize and
dispose, since they'll never be used by anyone anyway. Saves a
few bytes and possibly a sixteenth of a polar bear.
Merged from gst-plugins-base, 6f4c1ac58341ee189225d313ddfe9ae24a65c88c.
---
gst/selector/gstinputselector.c | 12 ++++--------
1 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/gst/selector/gstinputselector.c b/gst/selector/gstinputselector.c
index c3148d1..046470c 100644
--- a/gst/selector/gstinputselector.c
+++ b/gst/selector/gstinputselector.c
@@ -190,10 +190,8 @@ gst_selector_pad_class_init (GstSelectorPadClass * klass)
gobject_class->finalize = gst_selector_pad_finalize;
- gobject_class->get_property =
- GST_DEBUG_FUNCPTR (gst_selector_pad_get_property);
- gobject_class->set_property =
- GST_DEBUG_FUNCPTR (gst_selector_pad_set_property);
+ gobject_class->get_property = gst_selector_pad_get_property;
+ gobject_class->set_property = gst_selector_pad_set_property;
g_object_class_install_property (gobject_class, PROP_PAD_RUNNING_TIME,
g_param_spec_int64 ("running-time", "Running time",
@@ -763,10 +761,8 @@ gst_input_selector_class_init (GstInputSelectorClass * klass)
gobject_class->dispose = gst_input_selector_dispose;
- gobject_class->set_property =
- GST_DEBUG_FUNCPTR (gst_input_selector_set_property);
- gobject_class->get_property =
- GST_DEBUG_FUNCPTR (gst_input_selector_get_property);
+ gobject_class->set_property = gst_input_selector_set_property;
+ gobject_class->get_property = gst_input_selector_get_property;
g_object_class_install_property (gobject_class, PROP_N_PADS,
g_param_spec_uint ("n-pads", "Number of Pads",
More information about the Gstreamer-commits
mailing list