From 3e1832f5a416c250b240dd6d5468c7ab26aebf61 Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Mon, 6 Aug 2012 14:50:03 +0200 Subject: [PATCH] rtpmparobustdepay: improve and fix debug statement ... so it really informs about next rather than past frame. --- gst/rtp/gstrtpmparobustdepay.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gst/rtp/gstrtpmparobustdepay.c b/gst/rtp/gstrtpmparobustdepay.c index bc42df20b0..cb10aa9fda 100644 --- a/gst/rtp/gstrtpmparobustdepay.c +++ b/gst/rtp/gstrtpmparobustdepay.c @@ -505,13 +505,13 @@ gst_rtp_mpa_robust_depay_push_mp3_frames (GstRtpMPARobustDepay * rtpmpadepay) if (rtpmpadepay->offset == gst_buffer_get_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))