diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-11-03 18:11:13 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2010-12-31 00:53:58 +0000 |
commit | 13cf296cb0240aa5b477844fc959e391397518c5 (patch) | |
tree | f47324649ae47f51baeb42bdb292bb3084e6952a | |
parent | 11dc5f63cb9b9d668ac55d25f7be074e34be8398 (diff) |
input-selector: 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.
-rw-r--r-- | plugins/elements/gstinputselector.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/plugins/elements/gstinputselector.c b/plugins/elements/gstinputselector.c index c3148d1dbf..046470c410 100644 --- a/plugins/elements/gstinputselector.c +++ b/plugins/elements/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", |