summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2012-08-06 14:50:03 +0200
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2012-08-06 15:44:06 +0200
commit58703ba317c3faa60e4dbbcd56695469018ab00f (patch)
tree9d33506130923d1638863f725f54b75afc2e5a98
parentb81b04ba29cef8053989af8759ffe6d36e0a433b (diff)
rtpmparobustdepay: improve and fix debug statement
... so it really informs about next rather than past frame.
-rw-r--r--gst/rtp/gstrtpmparobustdepay.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gst/rtp/gstrtpmparobustdepay.c b/gst/rtp/gstrtpmparobustdepay.c
index d457f25f5..40e63d640 100644
--- a/gst/rtp/gstrtpmparobustdepay.c
+++ b/gst/rtp/gstrtpmparobustdepay.c
@@ -497,13 +497,13 @@ gst_rtp_mpa_robust_depay_push_mp3_frames (GstRtpMPARobustDepay * rtpmpadepay)
if (rtpmpadepay->offset == GST_BUFFER_SIZE (frame->buffer)) {
if (g_list_next (rtpmpadepay->cur_adu_frame)) {
- GST_LOG_OBJECT (rtpmpadepay,
- "moving to next ADU frame, size %d, side_info %d",
- frame->size, frame->side_info);
rtpmpadepay->size += frame->data_size;
rtpmpadepay->cur_adu_frame = g_list_next (rtpmpadepay->cur_adu_frame);
frame = (GstADUFrame *) rtpmpadepay->cur_adu_frame->data;
rtpmpadepay->offset = 0;
+ GST_LOG_OBJECT (rtpmpadepay,
+ "moving to next ADU frame, size %d, side_info %d, backpointer %d",
+ frame->size, frame->side_info, frame->backpointer);
/* layer I and II packets have no bitreservoir and must be sent as-is;
* so flush any pending frame */
if (G_UNLIKELY (frame->layer != 3 && rtpmpadepay->mp3_frame))