diff options
author | Håvard Graff <havard.graff@tandberg.com> | 2008-08-05 09:00:50 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2008-08-05 09:00:50 +0000 |
commit | 68cd145e3ea621ae95b2585f3afc623ac0cf7a20 (patch) | |
tree | f187ba409da1f3973a31c7c9661f9dde3afb489f /gst | |
parent | efc6bf88850d0c7cc5679a9ca89e33b0b1c806dc (diff) | |
download | gst-plugins-bad-68cd145e3ea621ae95b2585f3afc623ac0cf7a20.tar.gz gst-plugins-bad-68cd145e3ea621ae95b2585f3afc623ac0cf7a20.tar.bz2 gst-plugins-bad-68cd145e3ea621ae95b2585f3afc623ac0cf7a20.zip |
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.
Diffstat (limited to 'gst')
-rw-r--r-- | gst/rtpmanager/gstrtpjitterbuffer.c | 5 |
1 files changed, 3 insertions, 2 deletions
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); } } |