mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
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, 6f4c1ac583
.
This commit is contained in:
parent
11dc5f63cb
commit
13cf296cb0
1 changed files with 4 additions and 8 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue