diff options
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | gst/rtpmanager/gstrtpjitterbuffer.c | 5 |
2 files changed, 11 insertions, 2 deletions
@@ -1,5 +1,13 @@ 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> * gst/rtpmanager/gstrtpbin.c: (get_pt_map): 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); } } |