mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
gst: Don't use GST_DEBUG_FUNCPTR for GObject vfuncs
This commit is contained in:
parent
21c84e23e8
commit
f16ed4a91c
14 changed files with 33 additions and 46 deletions
|
@ -91,13 +91,11 @@ gst_auto_audio_sink_class_init (GstAutoAudioSinkClass * klass)
|
|||
gobject_class = G_OBJECT_CLASS (klass);
|
||||
eklass = GST_ELEMENT_CLASS (klass);
|
||||
|
||||
gobject_class->dispose =
|
||||
(GObjectFinalizeFunc) GST_DEBUG_FUNCPTR (gst_auto_audio_sink_dispose);
|
||||
gobject_class->dispose = (GObjectFinalizeFunc) gst_auto_audio_sink_dispose;
|
||||
gobject_class->set_property = gst_auto_audio_sink_set_property;
|
||||
gobject_class->get_property = gst_auto_audio_sink_get_property;
|
||||
|
||||
eklass->change_state = GST_DEBUG_FUNCPTR (gst_auto_audio_sink_change_state);
|
||||
gobject_class->set_property =
|
||||
GST_DEBUG_FUNCPTR (gst_auto_audio_sink_set_property);
|
||||
gobject_class->get_property =
|
||||
GST_DEBUG_FUNCPTR (gst_auto_audio_sink_get_property);
|
||||
|
||||
/**
|
||||
* GstAutoAudioSink:filter-caps
|
||||
|
|
|
@ -93,13 +93,11 @@ gst_auto_audio_src_class_init (GstAutoAudioSrcClass * klass)
|
|||
gobject_class = G_OBJECT_CLASS (klass);
|
||||
eklass = GST_ELEMENT_CLASS (klass);
|
||||
|
||||
gobject_class->dispose =
|
||||
(GObjectFinalizeFunc) GST_DEBUG_FUNCPTR (gst_auto_audio_src_dispose);
|
||||
gobject_class->dispose = (GObjectFinalizeFunc) gst_auto_audio_src_dispose;
|
||||
gobject_class->set_property = gst_auto_audio_src_set_property;
|
||||
gobject_class->get_property = gst_auto_audio_src_get_property;
|
||||
|
||||
eklass->change_state = GST_DEBUG_FUNCPTR (gst_auto_audio_src_change_state);
|
||||
gobject_class->set_property =
|
||||
GST_DEBUG_FUNCPTR (gst_auto_audio_src_set_property);
|
||||
gobject_class->get_property =
|
||||
GST_DEBUG_FUNCPTR (gst_auto_audio_src_get_property);
|
||||
|
||||
/**
|
||||
* GstAutoAudioSrc:filter-caps
|
||||
|
|
|
@ -89,14 +89,11 @@ gst_auto_video_sink_class_init (GstAutoVideoSinkClass * klass)
|
|||
GstElementClass *eklass = GST_ELEMENT_CLASS (klass);
|
||||
|
||||
gobject_class = G_OBJECT_CLASS (klass);
|
||||
gobject_class->dispose =
|
||||
(GObjectFinalizeFunc) GST_DEBUG_FUNCPTR (gst_auto_video_sink_dispose);
|
||||
eklass->change_state = GST_DEBUG_FUNCPTR (gst_auto_video_sink_change_state);
|
||||
gobject_class->set_property =
|
||||
GST_DEBUG_FUNCPTR (gst_auto_video_sink_set_property);
|
||||
gobject_class->get_property =
|
||||
GST_DEBUG_FUNCPTR (gst_auto_video_sink_get_property);
|
||||
gobject_class->dispose = (GObjectFinalizeFunc) gst_auto_video_sink_dispose;
|
||||
gobject_class->set_property = gst_auto_video_sink_set_property;
|
||||
gobject_class->get_property = gst_auto_video_sink_get_property;
|
||||
|
||||
eklass->change_state = GST_DEBUG_FUNCPTR (gst_auto_video_sink_change_state);
|
||||
/**
|
||||
* GstAutoVideoSink:filter-caps
|
||||
*
|
||||
|
|
|
@ -91,13 +91,11 @@ gst_auto_video_src_class_init (GstAutoVideoSrcClass * klass)
|
|||
GstElementClass *eklass = GST_ELEMENT_CLASS (klass);
|
||||
|
||||
gobject_class = G_OBJECT_CLASS (klass);
|
||||
gobject_class->dispose =
|
||||
(GObjectFinalizeFunc) GST_DEBUG_FUNCPTR (gst_auto_video_src_dispose);
|
||||
gobject_class->dispose = (GObjectFinalizeFunc) gst_auto_video_src_dispose;
|
||||
gobject_class->set_property = gst_auto_video_src_set_property;
|
||||
gobject_class->get_property = gst_auto_video_src_get_property;
|
||||
|
||||
eklass->change_state = GST_DEBUG_FUNCPTR (gst_auto_video_src_change_state);
|
||||
gobject_class->set_property =
|
||||
GST_DEBUG_FUNCPTR (gst_auto_video_src_set_property);
|
||||
gobject_class->get_property =
|
||||
GST_DEBUG_FUNCPTR (gst_auto_video_src_get_property);
|
||||
|
||||
/**
|
||||
* GstAutoVideoSrc:filter-caps
|
||||
|
|
|
@ -129,10 +129,8 @@ gst_break_my_data_class_init (GstBreakMyDataClass * klass)
|
|||
gobject_class = G_OBJECT_CLASS (klass);
|
||||
gstbasetrans_class = GST_BASE_TRANSFORM_CLASS (klass);
|
||||
|
||||
gobject_class->set_property =
|
||||
GST_DEBUG_FUNCPTR (gst_break_my_data_set_property);
|
||||
gobject_class->get_property =
|
||||
GST_DEBUG_FUNCPTR (gst_break_my_data_get_property);
|
||||
gobject_class->set_property = gst_break_my_data_set_property;
|
||||
gobject_class->get_property = gst_break_my_data_get_property;
|
||||
|
||||
g_object_class_install_property (gobject_class, ARG_SEED,
|
||||
g_param_spec_uint ("seed", "seed",
|
||||
|
|
|
@ -115,15 +115,15 @@ gst_tag_inject_class_init (GstTagInjectClass * klass)
|
|||
gobject_class = G_OBJECT_CLASS (klass);
|
||||
gstbasetrans_class = GST_BASE_TRANSFORM_CLASS (klass);
|
||||
|
||||
gobject_class->set_property = GST_DEBUG_FUNCPTR (gst_tag_inject_set_property);
|
||||
gobject_class->get_property = GST_DEBUG_FUNCPTR (gst_tag_inject_get_property);
|
||||
gobject_class->set_property = gst_tag_inject_set_property;
|
||||
gobject_class->get_property = gst_tag_inject_get_property;
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_TAGS,
|
||||
g_param_spec_string ("tags", "taglist",
|
||||
"List of tags to inject into the target file",
|
||||
NULL, G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_tag_inject_finalize);
|
||||
gobject_class->finalize = gst_tag_inject_finalize;
|
||||
|
||||
gstbasetrans_class->transform_ip =
|
||||
GST_DEBUG_FUNCPTR (gst_tag_inject_transform_ip);
|
||||
|
|
|
@ -123,11 +123,9 @@ gst_rnd_buffer_size_class_init (GstRndBufferSizeClass * klass)
|
|||
GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
|
||||
GstElementClass *gstelement_class = GST_ELEMENT_CLASS (klass);
|
||||
|
||||
gobject_class->set_property =
|
||||
GST_DEBUG_FUNCPTR (gst_rnd_buffer_size_set_property);
|
||||
gobject_class->get_property =
|
||||
GST_DEBUG_FUNCPTR (gst_rnd_buffer_size_get_property);
|
||||
gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_rnd_buffer_size_finalize);
|
||||
gobject_class->set_property = gst_rnd_buffer_size_set_property;
|
||||
gobject_class->get_property = gst_rnd_buffer_size_get_property;
|
||||
gobject_class->finalize = gst_rnd_buffer_size_finalize;
|
||||
|
||||
gstelement_class->change_state =
|
||||
GST_DEBUG_FUNCPTR (gst_rnd_buffer_size_change_state);
|
||||
|
|
|
@ -108,8 +108,8 @@ gst_test_class_init (GstTestClass * klass)
|
|||
GObjectClass *object_class = G_OBJECT_CLASS (klass);
|
||||
guint i;
|
||||
|
||||
object_class->set_property = GST_DEBUG_FUNCPTR (gst_test_set_property);
|
||||
object_class->get_property = GST_DEBUG_FUNCPTR (gst_test_get_property);
|
||||
object_class->set_property = gst_test_set_property;
|
||||
object_class->get_property = gst_test_get_property;
|
||||
|
||||
object_class->finalize = (GObjectFinalizeFunc) gst_test_finalize;
|
||||
|
||||
|
|
|
@ -3099,7 +3099,7 @@ gst_flv_demux_class_init (GstFlvDemuxClass * klass)
|
|||
GstElementClass *gstelement_class = GST_ELEMENT_CLASS (klass);
|
||||
GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
|
||||
|
||||
gobject_class->dispose = GST_DEBUG_FUNCPTR (gst_flv_demux_dispose);
|
||||
gobject_class->dispose = gst_flv_demux_dispose;
|
||||
|
||||
gstelement_class->change_state =
|
||||
GST_DEBUG_FUNCPTR (gst_flv_demux_change_state);
|
||||
|
|
|
@ -296,7 +296,7 @@ gst_rtp_jitter_buffer_class_init (GstRtpJitterBufferClass * klass)
|
|||
|
||||
g_type_class_add_private (klass, sizeof (GstRtpJitterBufferPrivate));
|
||||
|
||||
gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_rtp_jitter_buffer_finalize);
|
||||
gobject_class->finalize = gst_rtp_jitter_buffer_finalize;
|
||||
|
||||
gobject_class->set_property = gst_rtp_jitter_buffer_set_property;
|
||||
gobject_class->get_property = gst_rtp_jitter_buffer_get_property;
|
||||
|
|
|
@ -212,7 +212,7 @@ gst_rtp_pt_demux_class_init (GstRtpPtDemuxClass * klass)
|
|||
clear_pt_map), NULL, NULL, g_cclosure_marshal_VOID__VOID,
|
||||
G_TYPE_NONE, 0, G_TYPE_NONE);
|
||||
|
||||
gobject_klass->finalize = GST_DEBUG_FUNCPTR (gst_rtp_pt_demux_finalize);
|
||||
gobject_klass->finalize = gst_rtp_pt_demux_finalize;
|
||||
|
||||
gstelement_klass->change_state =
|
||||
GST_DEBUG_FUNCPTR (gst_rtp_pt_demux_change_state);
|
||||
|
|
|
@ -252,8 +252,8 @@ gst_rtp_ssrc_demux_class_init (GstRtpSsrcDemuxClass * klass)
|
|||
gstelement_klass = (GstElementClass *) klass;
|
||||
gstrtpssrcdemux_klass = (GstRtpSsrcDemuxClass *) klass;
|
||||
|
||||
gobject_klass->dispose = GST_DEBUG_FUNCPTR (gst_rtp_ssrc_demux_dispose);
|
||||
gobject_klass->finalize = GST_DEBUG_FUNCPTR (gst_rtp_ssrc_demux_finalize);
|
||||
gobject_klass->dispose = gst_rtp_ssrc_demux_dispose;
|
||||
gobject_klass->finalize = gst_rtp_ssrc_demux_finalize;
|
||||
|
||||
/**
|
||||
* GstRtpSsrcDemux::new-ssrc-pad:
|
||||
|
|
|
@ -580,7 +580,7 @@ gst_video_balance_class_init (GstVideoBalanceClass * klass)
|
|||
GST_DEBUG_CATEGORY_INIT (videobalance_debug, "videobalance", 0,
|
||||
"videobalance");
|
||||
|
||||
gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_video_balance_finalize);
|
||||
gobject_class->finalize = gst_video_balance_finalize;
|
||||
gobject_class->set_property = gst_video_balance_set_property;
|
||||
gobject_class->get_property = gst_video_balance_get_property;
|
||||
|
||||
|
|
|
@ -659,7 +659,7 @@ gst_videomixer_class_init (GstVideoMixerClass * klass)
|
|||
GObjectClass *gobject_class = (GObjectClass *) klass;
|
||||
GstElementClass *gstelement_class = (GstElementClass *) klass;
|
||||
|
||||
gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_videomixer_finalize);
|
||||
gobject_class->finalize = gst_videomixer_finalize;
|
||||
|
||||
gobject_class->get_property = gst_videomixer_get_property;
|
||||
gobject_class->set_property = gst_videomixer_set_property;
|
||||
|
|
Loading…
Reference in a new issue