mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 20:59:44 +00:00
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.
This commit is contained in:
parent
7065c7a02d
commit
6f4c1ac583
23 changed files with 56 additions and 67 deletions
|
@ -177,6 +177,7 @@ gst_alsasink_base_init (gpointer g_class)
|
||||||
gst_element_class_add_pad_template (element_class,
|
gst_element_class_add_pad_template (element_class,
|
||||||
gst_static_pad_template_get (&alsasink_sink_factory));
|
gst_static_pad_template_get (&alsasink_sink_factory));
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gst_alsasink_class_init (GstAlsaSinkClass * klass)
|
gst_alsasink_class_init (GstAlsaSinkClass * klass)
|
||||||
{
|
{
|
||||||
|
@ -190,9 +191,9 @@ gst_alsasink_class_init (GstAlsaSinkClass * klass)
|
||||||
|
|
||||||
parent_class = g_type_class_peek_parent (klass);
|
parent_class = g_type_class_peek_parent (klass);
|
||||||
|
|
||||||
gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_alsasink_finalise);
|
gobject_class->finalize = gst_alsasink_finalise;
|
||||||
gobject_class->get_property = GST_DEBUG_FUNCPTR (gst_alsasink_get_property);
|
gobject_class->get_property = gst_alsasink_get_property;
|
||||||
gobject_class->set_property = GST_DEBUG_FUNCPTR (gst_alsasink_set_property);
|
gobject_class->set_property = gst_alsasink_set_property;
|
||||||
|
|
||||||
gstbasesink_class->get_caps = GST_DEBUG_FUNCPTR (gst_alsasink_getcaps);
|
gstbasesink_class->get_caps = GST_DEBUG_FUNCPTR (gst_alsasink_getcaps);
|
||||||
|
|
||||||
|
|
|
@ -208,9 +208,9 @@ gst_alsasrc_class_init (GstAlsaSrcClass * klass)
|
||||||
gstbasesrc_class = (GstBaseSrcClass *) klass;
|
gstbasesrc_class = (GstBaseSrcClass *) klass;
|
||||||
gstaudiosrc_class = (GstAudioSrcClass *) klass;
|
gstaudiosrc_class = (GstAudioSrcClass *) klass;
|
||||||
|
|
||||||
gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_alsasrc_finalize);
|
gobject_class->finalize = gst_alsasrc_finalize;
|
||||||
gobject_class->get_property = GST_DEBUG_FUNCPTR (gst_alsasrc_get_property);
|
gobject_class->get_property = gst_alsasrc_get_property;
|
||||||
gobject_class->set_property = GST_DEBUG_FUNCPTR (gst_alsasrc_set_property);
|
gobject_class->set_property = gst_alsasrc_set_property;
|
||||||
|
|
||||||
gstbasesrc_class->get_caps = GST_DEBUG_FUNCPTR (gst_alsasrc_getcaps);
|
gstbasesrc_class->get_caps = GST_DEBUG_FUNCPTR (gst_alsasrc_getcaps);
|
||||||
|
|
||||||
|
|
|
@ -170,8 +170,8 @@ gst_audioringbuffer_class_init (GstAudioRingBufferClass * klass)
|
||||||
|
|
||||||
ring_parent_class = g_type_class_peek_parent (klass);
|
ring_parent_class = g_type_class_peek_parent (klass);
|
||||||
|
|
||||||
gobject_class->dispose = GST_DEBUG_FUNCPTR (gst_audioringbuffer_dispose);
|
gobject_class->dispose = gst_audioringbuffer_dispose;
|
||||||
gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_audioringbuffer_finalize);
|
gobject_class->finalize = gst_audioringbuffer_finalize;
|
||||||
|
|
||||||
gstringbuffer_class->open_device =
|
gstringbuffer_class->open_device =
|
||||||
GST_DEBUG_FUNCPTR (gst_audioringbuffer_open_device);
|
GST_DEBUG_FUNCPTR (gst_audioringbuffer_open_device);
|
||||||
|
|
|
@ -165,8 +165,8 @@ gst_audioringbuffer_class_init (GstAudioRingBufferClass * klass)
|
||||||
|
|
||||||
ring_parent_class = g_type_class_peek_parent (klass);
|
ring_parent_class = g_type_class_peek_parent (klass);
|
||||||
|
|
||||||
gobject_class->dispose = GST_DEBUG_FUNCPTR (gst_audioringbuffer_dispose);
|
gobject_class->dispose = gst_audioringbuffer_dispose;
|
||||||
gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_audioringbuffer_finalize);
|
gobject_class->finalize = gst_audioringbuffer_finalize;
|
||||||
|
|
||||||
gstringbuffer_class->open_device =
|
gstringbuffer_class->open_device =
|
||||||
GST_DEBUG_FUNCPTR (gst_audioringbuffer_open_device);
|
GST_DEBUG_FUNCPTR (gst_audioringbuffer_open_device);
|
||||||
|
|
|
@ -177,11 +177,9 @@ gst_base_audio_sink_class_init (GstBaseAudioSinkClass * klass)
|
||||||
|
|
||||||
g_type_class_add_private (klass, sizeof (GstBaseAudioSinkPrivate));
|
g_type_class_add_private (klass, sizeof (GstBaseAudioSinkPrivate));
|
||||||
|
|
||||||
gobject_class->set_property =
|
gobject_class->set_property = gst_base_audio_sink_set_property;
|
||||||
GST_DEBUG_FUNCPTR (gst_base_audio_sink_set_property);
|
gobject_class->get_property = gst_base_audio_sink_get_property;
|
||||||
gobject_class->get_property =
|
gobject_class->dispose = gst_base_audio_sink_dispose;
|
||||||
GST_DEBUG_FUNCPTR (gst_base_audio_sink_get_property);
|
|
||||||
gobject_class->dispose = GST_DEBUG_FUNCPTR (gst_base_audio_sink_dispose);
|
|
||||||
|
|
||||||
g_object_class_install_property (gobject_class, PROP_BUFFER_TIME,
|
g_object_class_install_property (gobject_class, PROP_BUFFER_TIME,
|
||||||
g_param_spec_int64 ("buffer-time", "Buffer Time",
|
g_param_spec_int64 ("buffer-time", "Buffer Time",
|
||||||
|
|
|
@ -162,11 +162,9 @@ gst_base_audio_src_class_init (GstBaseAudioSrcClass * klass)
|
||||||
|
|
||||||
g_type_class_add_private (klass, sizeof (GstBaseAudioSrcPrivate));
|
g_type_class_add_private (klass, sizeof (GstBaseAudioSrcPrivate));
|
||||||
|
|
||||||
gobject_class->set_property =
|
gobject_class->set_property = gst_base_audio_src_set_property;
|
||||||
GST_DEBUG_FUNCPTR (gst_base_audio_src_set_property);
|
gobject_class->get_property = gst_base_audio_src_get_property;
|
||||||
gobject_class->get_property =
|
gobject_class->dispose = gst_base_audio_src_dispose;
|
||||||
GST_DEBUG_FUNCPTR (gst_base_audio_src_get_property);
|
|
||||||
gobject_class->dispose = GST_DEBUG_FUNCPTR (gst_base_audio_src_dispose);
|
|
||||||
|
|
||||||
g_object_class_install_property (gobject_class, PROP_BUFFER_TIME,
|
g_object_class_install_property (gobject_class, PROP_BUFFER_TIME,
|
||||||
g_param_spec_int64 ("buffer-time", "Buffer Time",
|
g_param_spec_int64 ("buffer-time", "Buffer Time",
|
||||||
|
|
|
@ -98,8 +98,8 @@ gst_ring_buffer_class_init (GstRingBufferClass * klass)
|
||||||
|
|
||||||
parent_class = g_type_class_peek_parent (klass);
|
parent_class = g_type_class_peek_parent (klass);
|
||||||
|
|
||||||
gobject_class->dispose = GST_DEBUG_FUNCPTR (gst_ring_buffer_dispose);
|
gobject_class->dispose = gst_ring_buffer_dispose;
|
||||||
gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_ring_buffer_finalize);
|
gobject_class->finalize = gst_ring_buffer_finalize;
|
||||||
|
|
||||||
gstringbuffer_class->clear_all = GST_DEBUG_FUNCPTR (default_clear_all);
|
gstringbuffer_class->clear_all = GST_DEBUG_FUNCPTR (default_clear_all);
|
||||||
gstringbuffer_class->commit = GST_DEBUG_FUNCPTR (default_commit);
|
gstringbuffer_class->commit = GST_DEBUG_FUNCPTR (default_commit);
|
||||||
|
|
|
@ -163,8 +163,7 @@ gst_base_rtp_audio_payload_class_init (GstBaseRTPAudioPayloadClass * klass)
|
||||||
gstelement_class = (GstElementClass *) klass;
|
gstelement_class = (GstElementClass *) klass;
|
||||||
gstbasertppayload_class = (GstBaseRTPPayloadClass *) klass;
|
gstbasertppayload_class = (GstBaseRTPPayloadClass *) klass;
|
||||||
|
|
||||||
gobject_class->finalize =
|
gobject_class->finalize = gst_base_rtp_audio_payload_finalize;
|
||||||
GST_DEBUG_FUNCPTR (gst_base_rtp_audio_payload_finalize);
|
|
||||||
|
|
||||||
gstelement_class->change_state =
|
gstelement_class->change_state =
|
||||||
GST_DEBUG_FUNCPTR (gst_base_rtp_payload_audio_change_state);
|
GST_DEBUG_FUNCPTR (gst_base_rtp_payload_audio_change_state);
|
||||||
|
|
|
@ -820,9 +820,9 @@ gst_adder_class_init (GstAdderClass * klass)
|
||||||
GObjectClass *gobject_class = (GObjectClass *) klass;
|
GObjectClass *gobject_class = (GObjectClass *) klass;
|
||||||
GstElementClass *gstelement_class = (GstElementClass *) klass;
|
GstElementClass *gstelement_class = (GstElementClass *) klass;
|
||||||
|
|
||||||
gobject_class->set_property = GST_DEBUG_FUNCPTR (gst_adder_set_property);
|
gobject_class->set_property = gst_adder_set_property;
|
||||||
gobject_class->get_property = GST_DEBUG_FUNCPTR (gst_adder_get_property);
|
gobject_class->get_property = gst_adder_get_property;
|
||||||
gobject_class->dispose = GST_DEBUG_FUNCPTR (gst_adder_dispose);
|
gobject_class->dispose = gst_adder_dispose;
|
||||||
|
|
||||||
gst_element_class_add_pad_template (gstelement_class,
|
gst_element_class_add_pad_template (gstelement_class,
|
||||||
gst_static_pad_template_get (&gst_adder_src_template));
|
gst_static_pad_template_get (&gst_adder_src_template));
|
||||||
|
|
|
@ -346,7 +346,7 @@ gst_ffmpegcsp_class_init (GstFFMpegCspClass * klass)
|
||||||
|
|
||||||
parent_class = g_type_class_peek_parent (klass);
|
parent_class = g_type_class_peek_parent (klass);
|
||||||
|
|
||||||
gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_ffmpegcsp_finalize);
|
gobject_class->finalize = gst_ffmpegcsp_finalize;
|
||||||
|
|
||||||
gstbasetransform_class->transform_caps =
|
gstbasetransform_class->transform_caps =
|
||||||
GST_DEBUG_FUNCPTR (gst_ffmpegcsp_transform_caps);
|
GST_DEBUG_FUNCPTR (gst_ffmpegcsp_transform_caps);
|
||||||
|
|
|
@ -110,7 +110,7 @@ gst_gdp_depay_class_init (GstGDPDepayClass * klass)
|
||||||
|
|
||||||
gstelement_class->change_state =
|
gstelement_class->change_state =
|
||||||
GST_DEBUG_FUNCPTR (gst_gdp_depay_change_state);
|
GST_DEBUG_FUNCPTR (gst_gdp_depay_change_state);
|
||||||
gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_gdp_depay_finalize);
|
gobject_class->finalize = gst_gdp_depay_finalize;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
@ -122,9 +122,9 @@ gst_gdp_pay_class_init (GstGDPPayClass * klass)
|
||||||
gobject_class = (GObjectClass *) klass;
|
gobject_class = (GObjectClass *) klass;
|
||||||
gstelement_class = (GstElementClass *) klass;
|
gstelement_class = (GstElementClass *) klass;
|
||||||
|
|
||||||
gobject_class->set_property = GST_DEBUG_FUNCPTR (gst_gdp_pay_set_property);
|
gobject_class->set_property = gst_gdp_pay_set_property;
|
||||||
gobject_class->get_property = GST_DEBUG_FUNCPTR (gst_gdp_pay_get_property);
|
gobject_class->get_property = gst_gdp_pay_get_property;
|
||||||
gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_gdp_pay_finalize);
|
gobject_class->finalize = gst_gdp_pay_finalize;
|
||||||
|
|
||||||
g_object_class_install_property (gobject_class, PROP_CRC_HEADER,
|
g_object_class_install_property (gobject_class, PROP_CRC_HEADER,
|
||||||
g_param_spec_boolean ("crc-header", "CRC Header",
|
g_param_spec_boolean ("crc-header", "CRC Header",
|
||||||
|
|
|
@ -232,10 +232,10 @@ gst_decode_bin_class_init (GstDecodeBinClass * klass)
|
||||||
|
|
||||||
parent_class = g_type_class_peek_parent (klass);
|
parent_class = g_type_class_peek_parent (klass);
|
||||||
|
|
||||||
gobject_klass->set_property = GST_DEBUG_FUNCPTR (gst_decode_bin_set_property);
|
gobject_klass->set_property = gst_decode_bin_set_property;
|
||||||
gobject_klass->get_property = GST_DEBUG_FUNCPTR (gst_decode_bin_get_property);
|
gobject_klass->get_property = gst_decode_bin_get_property;
|
||||||
gobject_klass->dispose = GST_DEBUG_FUNCPTR (gst_decode_bin_dispose);
|
gobject_klass->dispose = gst_decode_bin_dispose;
|
||||||
gobject_klass->finalize = GST_DEBUG_FUNCPTR (gst_decode_bin_finalize);
|
gobject_klass->finalize = gst_decode_bin_finalize;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GstDecodeBin::new-decoded-pad:
|
* GstDecodeBin::new-decoded-pad:
|
||||||
|
|
|
@ -526,10 +526,10 @@ gst_decode_bin_class_init (GstDecodeBinClass * klass)
|
||||||
|
|
||||||
parent_class = g_type_class_peek_parent (klass);
|
parent_class = g_type_class_peek_parent (klass);
|
||||||
|
|
||||||
gobject_klass->dispose = GST_DEBUG_FUNCPTR (gst_decode_bin_dispose);
|
gobject_klass->dispose = gst_decode_bin_dispose;
|
||||||
gobject_klass->finalize = GST_DEBUG_FUNCPTR (gst_decode_bin_finalize);
|
gobject_klass->finalize = gst_decode_bin_finalize;
|
||||||
gobject_klass->set_property = GST_DEBUG_FUNCPTR (gst_decode_bin_set_property);
|
gobject_klass->set_property = gst_decode_bin_set_property;
|
||||||
gobject_klass->get_property = GST_DEBUG_FUNCPTR (gst_decode_bin_get_property);
|
gobject_klass->get_property = gst_decode_bin_get_property;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GstDecodeBin2::new-decoded-pad:
|
* GstDecodeBin2::new-decoded-pad:
|
||||||
|
|
|
@ -190,10 +190,8 @@ gst_selector_pad_class_init (GstSelectorPadClass * klass)
|
||||||
|
|
||||||
gobject_class->finalize = gst_selector_pad_finalize;
|
gobject_class->finalize = gst_selector_pad_finalize;
|
||||||
|
|
||||||
gobject_class->get_property =
|
gobject_class->get_property = gst_selector_pad_get_property;
|
||||||
GST_DEBUG_FUNCPTR (gst_selector_pad_get_property);
|
gobject_class->set_property = gst_selector_pad_set_property;
|
||||||
gobject_class->set_property =
|
|
||||||
GST_DEBUG_FUNCPTR (gst_selector_pad_set_property);
|
|
||||||
|
|
||||||
g_object_class_install_property (gobject_class, PROP_PAD_RUNNING_TIME,
|
g_object_class_install_property (gobject_class, PROP_PAD_RUNNING_TIME,
|
||||||
g_param_spec_int64 ("running-time", "Running time",
|
g_param_spec_int64 ("running-time", "Running time",
|
||||||
|
@ -765,10 +763,8 @@ gst_input_selector_class_init (GstInputSelectorClass * klass)
|
||||||
|
|
||||||
gobject_class->dispose = gst_input_selector_dispose;
|
gobject_class->dispose = gst_input_selector_dispose;
|
||||||
|
|
||||||
gobject_class->set_property =
|
gobject_class->set_property = gst_input_selector_set_property;
|
||||||
GST_DEBUG_FUNCPTR (gst_input_selector_set_property);
|
gobject_class->get_property = gst_input_selector_get_property;
|
||||||
gobject_class->get_property =
|
|
||||||
GST_DEBUG_FUNCPTR (gst_input_selector_get_property);
|
|
||||||
|
|
||||||
g_object_class_install_property (gobject_class, PROP_N_PADS,
|
g_object_class_install_property (gobject_class, PROP_N_PADS,
|
||||||
g_param_spec_uint ("n-pads", "Number of Pads",
|
g_param_spec_uint ("n-pads", "Number of Pads",
|
||||||
|
|
|
@ -219,8 +219,8 @@ gst_play_base_bin_class_init (GstPlayBaseBinClass * klass)
|
||||||
GST_DEBUG_CATEGORY_INIT (gst_play_base_bin_debug, "playbasebin", 0,
|
GST_DEBUG_CATEGORY_INIT (gst_play_base_bin_debug, "playbasebin", 0,
|
||||||
"playbasebin");
|
"playbasebin");
|
||||||
|
|
||||||
gobject_klass->dispose = GST_DEBUG_FUNCPTR (gst_play_base_bin_dispose);
|
gobject_klass->dispose = gst_play_base_bin_dispose;
|
||||||
gobject_klass->finalize = GST_DEBUG_FUNCPTR (gst_play_base_bin_finalize);
|
gobject_klass->finalize = gst_play_base_bin_finalize;
|
||||||
|
|
||||||
gstbin_klass->handle_message =
|
gstbin_klass->handle_message =
|
||||||
GST_DEBUG_FUNCPTR (gst_play_base_bin_handle_message_func);
|
GST_DEBUG_FUNCPTR (gst_play_base_bin_handle_message_func);
|
||||||
|
|
|
@ -414,7 +414,7 @@ gst_play_bin_class_init (GstPlayBinClass * klass)
|
||||||
"Pango font description of font " "to be used for subtitle rendering",
|
"Pango font description of font " "to be used for subtitle rendering",
|
||||||
NULL, G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS));
|
NULL, G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
gobject_klass->dispose = GST_DEBUG_FUNCPTR (gst_play_bin_dispose);
|
gobject_klass->dispose = gst_play_bin_dispose;
|
||||||
|
|
||||||
gst_element_class_set_details (gstelement_klass, &gst_play_bin_details);
|
gst_element_class_set_details (gstelement_klass, &gst_play_bin_details);
|
||||||
|
|
||||||
|
|
|
@ -622,7 +622,7 @@ gst_play_bin_class_init (GstPlayBinClass * klass)
|
||||||
gobject_klass->set_property = gst_play_bin_set_property;
|
gobject_klass->set_property = gst_play_bin_set_property;
|
||||||
gobject_klass->get_property = gst_play_bin_get_property;
|
gobject_klass->get_property = gst_play_bin_get_property;
|
||||||
|
|
||||||
gobject_klass->finalize = GST_DEBUG_FUNCPTR (gst_play_bin_finalize);
|
gobject_klass->finalize = gst_play_bin_finalize;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GstPlayBin2:uri
|
* GstPlayBin2:uri
|
||||||
|
|
|
@ -267,10 +267,10 @@ gst_play_sink_class_init (GstPlaySinkClass * klass)
|
||||||
gstelement_klass = (GstElementClass *) klass;
|
gstelement_klass = (GstElementClass *) klass;
|
||||||
gstbin_klass = (GstBinClass *) klass;
|
gstbin_klass = (GstBinClass *) klass;
|
||||||
|
|
||||||
gobject_klass->dispose = GST_DEBUG_FUNCPTR (gst_play_sink_dispose);
|
gobject_klass->dispose = gst_play_sink_dispose;
|
||||||
gobject_klass->finalize = GST_DEBUG_FUNCPTR (gst_play_sink_finalize);
|
gobject_klass->finalize = gst_play_sink_finalize;
|
||||||
gobject_klass->set_property = GST_DEBUG_FUNCPTR (gst_play_sink_set_property);
|
gobject_klass->set_property = gst_play_sink_set_property;
|
||||||
gobject_klass->get_property = GST_DEBUG_FUNCPTR (gst_play_sink_get_property);
|
gobject_klass->get_property = gst_play_sink_get_property;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -378,8 +378,8 @@ gst_queue_class_init (GstQueueClass * klass)
|
||||||
|
|
||||||
parent_class = g_type_class_peek_parent (klass);
|
parent_class = g_type_class_peek_parent (klass);
|
||||||
|
|
||||||
gobject_class->set_property = GST_DEBUG_FUNCPTR (gst_queue_set_property);
|
gobject_class->set_property = gst_queue_set_property;
|
||||||
gobject_class->get_property = GST_DEBUG_FUNCPTR (gst_queue_get_property);
|
gobject_class->get_property = gst_queue_get_property;
|
||||||
|
|
||||||
/* properties */
|
/* properties */
|
||||||
g_object_class_install_property (gobject_class, PROP_CUR_LEVEL_BYTES,
|
g_object_class_install_property (gobject_class, PROP_CUR_LEVEL_BYTES,
|
||||||
|
@ -448,7 +448,7 @@ gst_queue_class_init (GstQueueClass * klass)
|
||||||
gst_element_class_set_details (gstelement_class, &gst_queue_details);
|
gst_element_class_set_details (gstelement_class, &gst_queue_details);
|
||||||
|
|
||||||
/* set several parent class virtual functions */
|
/* set several parent class virtual functions */
|
||||||
gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_queue_finalize);
|
gobject_class->finalize = gst_queue_finalize;
|
||||||
|
|
||||||
gstelement_class->change_state = GST_DEBUG_FUNCPTR (gst_queue_change_state);
|
gstelement_class->change_state = GST_DEBUG_FUNCPTR (gst_queue_change_state);
|
||||||
}
|
}
|
||||||
|
|
|
@ -157,7 +157,7 @@ gst_stream_info_class_init (GstStreamInfoClass * klass)
|
||||||
G_STRUCT_OFFSET (GstStreamInfoClass, muted), NULL, NULL,
|
G_STRUCT_OFFSET (GstStreamInfoClass, muted), NULL, NULL,
|
||||||
gst_marshal_VOID__BOOLEAN, G_TYPE_NONE, 1, G_TYPE_BOOLEAN);
|
gst_marshal_VOID__BOOLEAN, G_TYPE_NONE, 1, G_TYPE_BOOLEAN);
|
||||||
|
|
||||||
gobject_klass->dispose = GST_DEBUG_FUNCPTR (gst_stream_info_dispose);
|
gobject_klass->dispose = gst_stream_info_dispose;
|
||||||
|
|
||||||
GST_DEBUG_CATEGORY_INIT (gst_streaminfo_debug, "streaminfo", 0,
|
GST_DEBUG_CATEGORY_INIT (gst_streaminfo_debug, "streaminfo", 0,
|
||||||
"Playbin Stream Info");
|
"Playbin Stream Info");
|
||||||
|
|
|
@ -157,8 +157,7 @@ gst_selector_pad_class_init (GstSelectorPadClass * klass)
|
||||||
selector_pad_parent_class = g_type_class_peek_parent (klass);
|
selector_pad_parent_class = g_type_class_peek_parent (klass);
|
||||||
|
|
||||||
gobject_class->finalize = gst_selector_pad_finalize;
|
gobject_class->finalize = gst_selector_pad_finalize;
|
||||||
gobject_class->get_property =
|
gobject_class->get_property = gst_selector_pad_get_property;
|
||||||
GST_DEBUG_FUNCPTR (gst_selector_pad_get_property);
|
|
||||||
|
|
||||||
g_object_class_install_property (gobject_class, PROP_PAD_TAGS,
|
g_object_class_install_property (gobject_class, PROP_PAD_TAGS,
|
||||||
g_param_spec_boxed ("tags", "Tags",
|
g_param_spec_boxed ("tags", "Tags",
|
||||||
|
@ -486,10 +485,8 @@ gst_stream_selector_class_init (GstStreamSelectorClass * klass)
|
||||||
|
|
||||||
gobject_class->dispose = gst_stream_selector_dispose;
|
gobject_class->dispose = gst_stream_selector_dispose;
|
||||||
|
|
||||||
gobject_class->set_property =
|
gobject_class->set_property = gst_stream_selector_set_property;
|
||||||
GST_DEBUG_FUNCPTR (gst_stream_selector_set_property);
|
gobject_class->get_property = gst_stream_selector_get_property;
|
||||||
gobject_class->get_property =
|
|
||||||
GST_DEBUG_FUNCPTR (gst_stream_selector_get_property);
|
|
||||||
|
|
||||||
g_object_class_install_property (gobject_class, PROP_N_PADS,
|
g_object_class_install_property (gobject_class, PROP_N_PADS,
|
||||||
g_param_spec_uint ("n-pads", "Number of Pads",
|
g_param_spec_uint ("n-pads", "Number of Pads",
|
||||||
|
|
|
@ -116,7 +116,7 @@ gst_ssa_parse_class_init (GstSsaParseClass * klass)
|
||||||
GObjectClass *object_class = G_OBJECT_CLASS (klass);
|
GObjectClass *object_class = G_OBJECT_CLASS (klass);
|
||||||
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
|
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
|
||||||
|
|
||||||
object_class->dispose = GST_DEBUG_FUNCPTR (gst_ssa_parse_dispose);
|
object_class->dispose = gst_ssa_parse_dispose;
|
||||||
|
|
||||||
element_class->change_state = GST_DEBUG_FUNCPTR (gst_ssa_parse_change_state);
|
element_class->change_state = GST_DEBUG_FUNCPTR (gst_ssa_parse_change_state);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue