mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
gst/gstclock.h: Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
Original commit message from CVS: * gst/gstclock.h: Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
This commit is contained in:
parent
5a308b9d09
commit
06fcb64c77
2 changed files with 13 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* gst/gstclock.h:
|
||||
Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
|
||||
|
||||
2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* libs/gst/base/gstbasetransform.c:
|
||||
|
|
|
@ -177,10 +177,14 @@ G_STMT_START { \
|
|||
* Format @t for the GST_TIME_FORMAT format string.
|
||||
*/
|
||||
#define GST_TIME_ARGS(t) \
|
||||
(guint) (((GstClockTime)(t)) / (GST_SECOND * 60 * 60)), \
|
||||
(guint) ((((GstClockTime)(t)) / (GST_SECOND * 60)) % 60), \
|
||||
(guint) ((((GstClockTime)(t)) / GST_SECOND) % 60), \
|
||||
(guint) (((GstClockTime)(t)) % GST_SECOND)
|
||||
GST_CLOCK_TIME_IS_VALID (t) ? \
|
||||
(guint) (((GstClockTime)(t)) / (GST_SECOND * 60 * 60)) : 99, \
|
||||
GST_CLOCK_TIME_IS_VALID (t) ? \
|
||||
(guint) ((((GstClockTime)(t)) / (GST_SECOND * 60)) % 60) : 99, \
|
||||
GST_CLOCK_TIME_IS_VALID (t) ? \
|
||||
(guint) ((((GstClockTime)(t)) / GST_SECOND) % 60) : 99, \
|
||||
GST_CLOCK_TIME_IS_VALID (t) ? \
|
||||
(guint) (((GstClockTime)(t)) % GST_SECOND) : 999999999
|
||||
|
||||
/**
|
||||
* GST_CLOCK_ENTRY_TRACE_NAME:
|
||||
|
|
Loading…
Reference in a new issue