mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
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:
parent
227f1d1e0f
commit
94a7f9fc4e
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue