gst/rtpmanager/gstrtpjitterbuffer.c: Fix debug by logging the right seqnum.

Original commit message from CVS:
Patch by: Håvard Graff <havard dot graff at tandberg dot com>
* gst/rtpmanager/gstrtpjitterbuffer.c:
(gst_rtp_jitter_buffer_chain):
Fix debug by logging the right seqnum.
This commit is contained in:
Håvard Graff 2008-08-05 09:00:50 +00:00 committed by Wim Taymans
parent efc6bf8885
commit 68cd145e3e
2 changed files with 12 additions and 3 deletions

View file

@ -1,3 +1,11 @@
2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
Patch by: Håvard Graff <havard dot graff at tandberg dot com>
* gst/rtpmanager/gstrtpjitterbuffer.c:
(gst_rtp_jitter_buffer_chain):
Fix debug by logging the right seqnum.
2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
Patch by: Olivier Crete <tester at tester dot ca>

View file

@ -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;
GST_DEBUG_OBJECT (jitterbuffer, "Queue full, dropping old packet #%d",
seqnum);
old_buf = rtp_jitter_buffer_pop (priv->jbuf);
GST_DEBUG_OBJECT (jitterbuffer, "Queue full, dropping old packet #%d",
gst_rtp_buffer_get_seq (old_buf));
gst_buffer_unref (old_buf);
}
}