aggregator: use GST_STIME_FORMAT for GstClockTimeDiff

No need to manually handle negative value of deadline, GST_STIME_FORMAT does
exactly this.
This commit is contained in:
Luis de Bethencourt 2015-11-05 12:36:48 +00:00 committed by Tim-Philipp Müller
parent c1e6f94157
commit c0a0102b41

View file

@ -701,9 +701,8 @@ gst_aggregator_wait_and_check (GstAggregator * self, gboolean * timeout)
}
GST_DEBUG_OBJECT (self,
"clock returned %d (jitter: %s%" GST_TIME_FORMAT ")",
status, (jitter < 0 ? "-" : " "),
GST_TIME_ARGS ((jitter < 0 ? -jitter : jitter)));
"clock returned %d (jitter: %" GST_STIME_FORMAT ")",
status, GST_STIME_ARGS (jitter));
/* we timed out */
if (status == GST_CLOCK_OK || status == GST_CLOCK_EARLY) {