From a660ac7e8857dbd4129ac09940dbf60beec3a902 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Fri, 15 Apr 2016 14:35:07 +0000 Subject: [PATCH] rtpjitterbuffer: Fix debug output when resyncing Don't output the pointer value of the time() function as a timestamp by using the correct variable. Fixes build on Raspberry Pi 3. --- gst/rtpmanager/rtpjitterbuffer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/rtpmanager/rtpjitterbuffer.c b/gst/rtpmanager/rtpjitterbuffer.c index 4c359d083d..380948ab8c 100644 --- a/gst/rtpmanager/rtpjitterbuffer.c +++ b/gst/rtpmanager/rtpjitterbuffer.c @@ -852,7 +852,7 @@ rtp_jitter_buffer_insert (RTPJitterBuffer * jbuf, RTPJitterBufferItem * item, * do with the previous values */ if (G_UNLIKELY (jbuf->need_resync && dts != -1)) { GST_INFO ("resync to time %" GST_TIME_FORMAT ", rtptime %" - GST_TIME_FORMAT, GST_TIME_ARGS (time), GST_TIME_ARGS (gstrtptime)); + GST_TIME_FORMAT, GST_TIME_ARGS (dts), GST_TIME_ARGS (gstrtptime)); rtp_jitter_buffer_resync (jbuf, dts, gstrtptime, ext_rtptime, FALSE); } @@ -1000,7 +1000,7 @@ rtp_jitter_buffer_insert (RTPJitterBuffer * jbuf, RTPJitterBufferItem * item, * temporarily */ GST_DEBUG ("out %" GST_TIME_FORMAT " + %" G_GUINT64_FORMAT " < time %" GST_TIME_FORMAT ", reset jitterbuffer", GST_TIME_ARGS (item->pts), - jbuf->delay, GST_TIME_ARGS (time)); + jbuf->delay, GST_TIME_ARGS (dts)); rtp_jitter_buffer_resync (jbuf, dts, gstrtptime, ext_rtptime, TRUE); item->pts = dts; }