mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
rtpmux: Add GST_DEBUG_FUNCPTRs
This commit is contained in:
parent
fd102b95ab
commit
05844c89e9
2 changed files with 11 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue