diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2013-04-09 17:31:44 +0200 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2013-04-09 17:32:05 +0200 |
commit | a237a55eb1bc739b7edbf58c4fd547ad171085e1 (patch) | |
tree | cf1dac5d477567895fc93fed133e7629846287c8 | |
parent | e3ae464ee5d5ba9cb999805e29f1aba5ed087338 (diff) |
getpay: improve debug
-rw-r--r-- | gst/rtp/gstrtpgstpay.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/rtp/gstrtpgstpay.c b/gst/rtp/gstrtpgstpay.c index fe7626f44..0761b2a11 100644 --- a/gst/rtp/gstrtpgstpay.c +++ b/gst/rtp/gstrtpgstpay.c @@ -278,8 +278,6 @@ gst_rtp_gst_pay_flush (GstRtpGSTPay * rtpgstpay, GstClockTime timestamp) payload += 8; payload_len -= 8; - GST_DEBUG_OBJECT (rtpgstpay, "copy %u bytes from adapter", payload_len); - frag_offset += payload_len; avail -= payload_len; @@ -292,6 +290,7 @@ gst_rtp_gst_pay_flush (GstRtpGSTPay * rtpgstpay, GstClockTime timestamp) GstBuffer *paybuf; /* create a new buf to hold the payload */ + GST_DEBUG_OBJECT (rtpgstpay, "take %u bytes from adapter", payload_len); paybuf = gst_adapter_take_buffer (rtpgstpay->adapter, payload_len); /* create a new group to hold the rtp header and the payload */ @@ -299,6 +298,7 @@ gst_rtp_gst_pay_flush (GstRtpGSTPay * rtpgstpay, GstClockTime timestamp) gst_buffer_list_iterator_add (it, outbuf); gst_buffer_list_iterator_add (it, paybuf); } else { + GST_DEBUG_OBJECT (rtpgstpay, "copy %u bytes from adapter", payload_len); gst_adapter_copy (rtpgstpay->adapter, payload, 0, payload_len); gst_adapter_flush (rtpgstpay->adapter, payload_len); |