mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
basesink: format negative values better
Format negative values properly in the debug log.
This commit is contained in:
parent
f17efc49c6
commit
c9c9894552
1 changed files with 2 additions and 2 deletions
|
@ -2420,8 +2420,8 @@ again:
|
|||
* or sync is disabled with GST_CLOCK_BADTIME. */
|
||||
status = gst_base_sink_wait_clock (basesink, stime, &jitter);
|
||||
|
||||
GST_DEBUG_OBJECT (basesink, "clock returned %d, jitter %" GST_TIME_FORMAT,
|
||||
status, GST_TIME_ARGS (jitter));
|
||||
GST_DEBUG_OBJECT (basesink, "clock returned %d, jitter %c%" GST_TIME_FORMAT,
|
||||
status, (jitter < 0 ? '-' : ' '), GST_TIME_ARGS (ABS (jitter)));
|
||||
|
||||
/* invalid time, no clock or sync disabled, just render */
|
||||
if (status == GST_CLOCK_BADTIME)
|
||||
|
|
Loading…
Reference in a new issue