audioclock: use GST_STIME_FORMAT for GstClockTimeDiff

GST_STIME_FORMAT is more appropriate for GstClockTimeDiff since it can
handle negative values better.

https://bugzilla.gnome.org/show_bug.cgi?id=757480
This commit is contained in:
Luis de Bethencourt 2015-11-03 14:08:25 +00:00
parent 227f1d1e0f
commit 94a7f9fc4e

View file

@ -136,9 +136,9 @@ gst_audio_clock_reset (GstAudioClock * clock, GstClockTime time)
clock->time_offset = time_offset;
GST_DEBUG_OBJECT (clock,
"reset clock to %" GST_TIME_FORMAT ", last %" GST_TIME_FORMAT ", offset %"
GST_TIME_FORMAT, GST_TIME_ARGS (time), GST_TIME_ARGS (clock->last_time),
GST_TIME_ARGS (time_offset));
"reset clock to %" GST_TIME_FORMAT ", last %" GST_STIME_FORMAT
", offset %" GST_TIME_FORMAT, GST_TIME_ARGS (time),
GST_TIME_ARGS (clock->last_time), GST_STIME_ARGS (time_offset));
}
static GstClockTime