mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
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.
This commit is contained in:
parent
bc2d4c4c31
commit
a660ac7e88
1 changed files with 2 additions and 2 deletions
|
@ -852,7 +852,7 @@ rtp_jitter_buffer_insert (RTPJitterBuffer * jbuf, RTPJitterBufferItem * item,
|
||||||
* do with the previous values */
|
* do with the previous values */
|
||||||
if (G_UNLIKELY (jbuf->need_resync && dts != -1)) {
|
if (G_UNLIKELY (jbuf->need_resync && dts != -1)) {
|
||||||
GST_INFO ("resync to time %" GST_TIME_FORMAT ", rtptime %"
|
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);
|
rtp_jitter_buffer_resync (jbuf, dts, gstrtptime, ext_rtptime, FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1000,7 +1000,7 @@ rtp_jitter_buffer_insert (RTPJitterBuffer * jbuf, RTPJitterBufferItem * item,
|
||||||
* temporarily */
|
* temporarily */
|
||||||
GST_DEBUG ("out %" GST_TIME_FORMAT " + %" G_GUINT64_FORMAT " < time %"
|
GST_DEBUG ("out %" GST_TIME_FORMAT " + %" G_GUINT64_FORMAT " < time %"
|
||||||
GST_TIME_FORMAT ", reset jitterbuffer", GST_TIME_ARGS (item->pts),
|
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);
|
rtp_jitter_buffer_resync (jbuf, dts, gstrtptime, ext_rtptime, TRUE);
|
||||||
item->pts = dts;
|
item->pts = dts;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue