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:
parent
5a4c09f791
commit
ba8b8e4677
@ -701,9 +701,8 @@ gst_aggregator_wait_and_check (GstAggregator * self, gboolean * timeout)
|
|||||||
}
|
}
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (self,
|
GST_DEBUG_OBJECT (self,
|
||||||
"clock returned %d (jitter: %s%" GST_TIME_FORMAT ")",
|
"clock returned %d (jitter: %" GST_STIME_FORMAT ")",
|
||||||
status, (jitter < 0 ? "-" : " "),
|
status, GST_STIME_ARGS (jitter));
|
||||||
GST_TIME_ARGS ((jitter < 0 ? -jitter : jitter)));
|
|
||||||
|
|
||||||
/* we timed out */
|
/* we timed out */
|
||||||
if (status == GST_CLOCK_OK || status == GST_CLOCK_EARLY) {
|
if (status == GST_CLOCK_OK || status == GST_CLOCK_EARLY) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user