From 9fee2c7c9f96829a91012f98c75aa176748c1d3c Mon Sep 17 00:00:00 2001 From: Luis de Bethencourt Date: Tue, 3 Nov 2015 14:46:30 +0000 Subject: [PATCH] rtpmanager: switch G_GINT64_FORMAT for GST_STIME_ARGS No need to use G_GINT64_FORMAT for potentially negative values of GstClockTimeDiff. Since 1.6 these can be handled with GST_STIME_ARGS. Plus it creates more readable values in the logs. https://bugzilla.gnome.org/show_bug.cgi?id=757480 --- gst/rtpmanager/gstrtpjitterbuffer.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gst/rtpmanager/gstrtpjitterbuffer.c b/gst/rtpmanager/gstrtpjitterbuffer.c index c5026da965..55161b4236 100644 --- a/gst/rtpmanager/gstrtpjitterbuffer.c +++ b/gst/rtpmanager/gstrtpjitterbuffer.c @@ -3496,8 +3496,9 @@ wait_next_timeout (GstRtpJitterBuffer * jitterbuffer) if (ret != GST_CLOCK_UNSCHEDULED) { now = timer_timeout + MAX (clock_jitter, 0); - GST_DEBUG_OBJECT (jitterbuffer, "sync done, %d, #%d, %" G_GINT64_FORMAT, - ret, priv->timer_seqnum, clock_jitter); + GST_DEBUG_OBJECT (jitterbuffer, + "sync done, %d, #%d, %" GST_STIME_FORMAT, ret, priv->timer_seqnum, + GST_STIME_ARGS (clock_jitter)); } else { GST_DEBUG_OBJECT (jitterbuffer, "sync unscheduled"); }