clock: Add signed time utilities
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Fri, 12 Jun 2015 16:06:05 +0000 (12:06 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Fri, 12 Jun 2015 21:20:16 +0000 (17:20 -0400)
commit5cab2e14c4ce445591669984661cd88a9bd6d3cd
treed938983f0872e3e9fc078f391d421a568188cde5
parent4b4a8295ae9f6c5aea17a4f7a2f89d6aec1e0447
clock: Add signed time utilities

Add utility to print signed value of time. This is useful to
trace running time values in gint64 or GstClockTimeDiff values.
Additionally, define GST_CLOCK_STIME_NONE to indicate an invalid
signed time value and validation macro. New macros are:

GST_CLOCK_STIME_NONE
GST_CLOCK_STIME_IS_VALID
GST_STIME_FORMAT
GST_STIME_ARGS

https://bugzilla.gnome.org/show_bug.cgi?id=740575
gst/gstclock.h