From 9418a3c2c7854b0d89fba0a186689ddbee04e275 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Cr=C3=AAte?= Date: Wed, 15 Apr 2009 13:23:01 -0400 Subject: rtpmux: Add GST_DEBUG_FUNCPTRs --- gst/rtpmux/gstrtpdtmfmux.c | 9 +++++---- gst/rtpmux/gstrtpmux.c | 10 ++++++---- 2 files changed, 11 insertions(+), 8 deletions(-) (limited to 'gst') diff --git a/gst/rtpmux/gstrtpdtmfmux.c b/gst/rtpmux/gstrtpdtmfmux.c index da10130c..409375b7 100644 --- a/gst/rtpmux/gstrtpdtmfmux.c +++ b/gst/rtpmux/gstrtpdtmfmux.c @@ -153,10 +153,11 @@ gst_rtp_dtmf_mux_class_init (GstRTPDTMFMuxClass * klass) G_STRUCT_OFFSET (GstRTPDTMFMuxClass, unlocked), NULL, NULL, gst_marshal_VOID__OBJECT, G_TYPE_NONE, 1, GST_TYPE_PAD); - gobject_class->dispose = gst_rtp_dtmf_mux_dispose; - gstelement_class->release_pad = gst_rtp_mux_release_pad; - gstrtpmux_class->chain_func = gst_rtp_dtmf_mux_chain; - gstrtpmux_class->sink_event_func = gst_rtp_dtmf_mux_sink_event; + gobject_class->dispose = GST_DEBUG_FUNCPTR (gst_rtp_dtmf_mux_dispose); + gstelement_class->release_pad = GST_DEBUG_FUNCPTR (gst_rtp_mux_release_pad); + gstrtpmux_class->chain_func = GST_DEBUG_FUNCPTR (gst_rtp_dtmf_mux_chain); + gstrtpmux_class->sink_event_func = + GST_DEBUG_FUNCPTR (gst_rtp_dtmf_mux_sink_event); } static void diff --git a/gst/rtpmux/gstrtpmux.c b/gst/rtpmux/gstrtpmux.c index 23730b96..51094f59 100644 --- a/gst/rtpmux/gstrtpmux.c +++ b/gst/rtpmux/gstrtpmux.c @@ -176,9 +176,10 @@ gst_rtp_mux_class_init (GstRTPMuxClass * klass) "The SSRC of the packets (-1 == random)", 0, G_MAXUINT, DEFAULT_SSRC, G_PARAM_READWRITE)); - gstelement_class->request_new_pad = gst_rtp_mux_request_new_pad; - gstelement_class->release_pad = gst_rtp_mux_release_pad; - gstelement_class->change_state = gst_rtp_mux_change_state; + gstelement_class->request_new_pad = + GST_DEBUG_FUNCPTR (gst_rtp_mux_request_new_pad); + gstelement_class->release_pad = GST_DEBUG_FUNCPTR (gst_rtp_mux_release_pad); + gstelement_class->change_state = GST_DEBUG_FUNCPTR (gst_rtp_mux_change_state); klass->chain_func = gst_rtp_mux_chain; } @@ -230,7 +231,8 @@ gst_rtp_mux_init (GstRTPMux * rtp_mux) rtp_mux->srcpad = gst_pad_new_from_template (gst_element_class_get_pad_template (klass, "src"), "src"); - gst_pad_set_event_function (rtp_mux->srcpad, gst_rtp_mux_src_event); + gst_pad_set_event_function (rtp_mux->srcpad, + GST_DEBUG_FUNCPTR (gst_rtp_mux_src_event)); gst_element_add_pad (GST_ELEMENT (rtp_mux), rtp_mux->srcpad); rtp_mux->ssrc = DEFAULT_SSRC; -- cgit v1.2.1