summaryrefslogtreecommitdiff
path: root/gst/rtpmanager/gstrtpdtmfmux.c
diff options
context:
space:
mode:
authorZeeshan Ali <first.last@nokia.com>2007-08-15 13:50:38 +0000
committerTim-Philipp Müller <tim@centricular.net>2012-12-16 16:31:46 +0000
commit6ea5ca354d97fc3028b356b377f8c2041257a8f6 (patch)
tree4fb8c960bb72b7a3f84cd64c0b348d215851a8b2 /gst/rtpmanager/gstrtpdtmfmux.c
parentf0e209b638c60f5b807f9f6f7eed2fd7ce6307a9 (diff)
rtpmux: more debug
Diffstat (limited to 'gst/rtpmanager/gstrtpdtmfmux.c')
-rw-r--r--gst/rtpmanager/gstrtpdtmfmux.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/gst/rtpmanager/gstrtpdtmfmux.c b/gst/rtpmanager/gstrtpdtmfmux.c
index 9ec75e18a..4c70608dc 100644
--- a/gst/rtpmanager/gstrtpdtmfmux.c
+++ b/gst/rtpmanager/gstrtpdtmfmux.c
@@ -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;
}