diff options
author | Olivier CrĂȘte <olivier.crete@collabora.co.uk> | 2009-04-15 13:23:01 -0400 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.co.uk> | 2009-04-15 13:23:01 -0400 |
commit | d8ba5624ce2320639311600b486bf83f40d534de (patch) | |
tree | 20f172d6089c5acfbee5c7386bb19d6a1301a3a2 /gst | |
parent | 66fca81e23a63919255d7ca71b601a5dfeff4ea3 (diff) | |
download | gst-plugins-bad-d8ba5624ce2320639311600b486bf83f40d534de.tar.gz gst-plugins-bad-d8ba5624ce2320639311600b486bf83f40d534de.tar.bz2 gst-plugins-bad-d8ba5624ce2320639311600b486bf83f40d534de.zip |
rtpmux: Add GST_DEBUG_FUNCPTRs
Diffstat (limited to 'gst')
-rw-r--r-- | gst/rtpmux/gstrtpdtmfmux.c | 9 | ||||
-rw-r--r-- | gst/rtpmux/gstrtpmux.c | 10 |
2 files changed, 11 insertions, 8 deletions
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; |