diff options
Diffstat (limited to 'gst/rtpmanager/gstrtpjitterbuffer.c')
-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); } } |