mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +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
5a4c09f791
commit
ba8b8e4677
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,
|
||||
"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) {
|
||||
|
|
Loading…
Reference in a new issue