rtpmux: more debug

20070815135038-f3f1e-9c7a5490a525c6e8753cb1b8c03354df99132b5c.gz
This commit is contained in:
Zeeshan Ali 2007-08-15 13:50:38 +00:00 committed by Tim-Philipp Müller
parent f0e209b638
commit 6ea5ca354d

View file

@ -188,8 +188,12 @@ gst_rtp_dtmf_mux_lock_stream (GstRTPDTMFMux *mux, GstPad * pad)
"Stream lock already acquired by pad %s",
GST_ELEMENT_NAME (mux->special_pad));
else
else {
GST_DEBUG_OBJECT (mux,
"Stream lock acquired by pad %s",
GST_ELEMENT_NAME (pad));
mux->special_pad = gst_object_ref (pad);
}
}
static void
@ -205,6 +209,9 @@ gst_rtp_dtmf_mux_unlock_stream (GstRTPDTMFMux *mux, GstPad * pad)
" which was acquired by pad %s", GST_ELEMENT_NAME (pad),
GST_ELEMENT_NAME (mux->special_pad));
else {
GST_DEBUG_OBJECT (mux,
"Stream lock released by pad %s",
GST_ELEMENT_NAME (mux->special_pad));
gst_object_unref (mux->special_pad);
mux->special_pad = NULL;
}