From 68cd145e3ea621ae95b2585f3afc623ac0cf7a20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5vard=20Graff?= Date: Tue, 5 Aug 2008 09:00:50 +0000 Subject: gst/rtpmanager/gstrtpjitterbuffer.c: Fix debug by logging the right seqnum. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Original commit message from CVS: Patch by: HÃ¥vard Graff * gst/rtpmanager/gstrtpjitterbuffer.c: (gst_rtp_jitter_buffer_chain): Fix debug by logging the right seqnum. --- gst/rtpmanager/gstrtpjitterbuffer.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gst') diff --git a/gst/rtpmanager/gstrtpjitterbuffer.c b/gst/rtpmanager/gstrtpjitterbuffer.c index 9b5e5236..52430ff2 100644 --- a/gst/rtpmanager/gstrtpjitterbuffer.c +++ b/gst/rtpmanager/gstrtpjitterbuffer.c @@ -918,10 +918,11 @@ gst_rtp_jitter_buffer_chain (GstPad * pad, GstBuffer * buffer) if (rtp_jitter_buffer_get_ts_diff (priv->jbuf) >= latency_ts) { GstBuffer *old_buf; + old_buf = rtp_jitter_buffer_pop (priv->jbuf); + GST_DEBUG_OBJECT (jitterbuffer, "Queue full, dropping old packet #%d", - seqnum); + gst_rtp_buffer_get_seq (old_buf)); - old_buf = rtp_jitter_buffer_pop (priv->jbuf); gst_buffer_unref (old_buf); } } -- cgit v1.2.1