mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-04 01:32:42 +00:00
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
c1e6f94157
commit
c0a0102b41
1 changed files with 2 additions and 3 deletions
|
@ -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…
Reference in a new issue