From e552cc74d9d9c02cef9a3172996b8c1e7fd5cef9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 27 Jun 2012 14:48:55 +0100 Subject: [PATCH] clock: annotate GST_CLOCK_TIME_NONE with its value for g-i The value now gets picked up, but it still thinks the type is a 'gint'. https://bugzilla.gnome.org/show_bug.cgi?id=678928 --- gst/gstclock.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/gst/gstclock.h b/gst/gstclock.h index 3f00b04a25..646ac64d05 100644 --- a/gst/gstclock.h +++ b/gst/gstclock.h @@ -66,6 +66,9 @@ typedef gpointer GstClockID; * GST_CLOCK_TIME_NONE: * * Constant to define an undefined clock time. + * + * Value: 18446744073709551615 + * Type: GstClockTime */ #define GST_CLOCK_TIME_NONE ((GstClockTime) -1) /** @@ -83,7 +86,7 @@ typedef gpointer GstClockID; * Constant that defines one GStreamer second. * * Value: 1000000000 - * + * Type: GstClockTime */ #define GST_SECOND (G_USEC_PER_SEC * G_GINT64_CONSTANT (1000)) /** @@ -92,7 +95,7 @@ typedef gpointer GstClockID; * Constant that defines one GStreamer millisecond. * * Value: 1000000 - * + * Type: GstClockTime */ #define GST_MSECOND (GST_SECOND / G_GINT64_CONSTANT (1000)) /** @@ -101,7 +104,7 @@ typedef gpointer GstClockID; * Constant that defines one GStreamer microsecond. * * Value: 1000 - * + * Type: GstClockTime */ #define GST_USECOND (GST_SECOND / G_GINT64_CONSTANT (1000000)) /** @@ -110,7 +113,7 @@ typedef gpointer GstClockID; * Constant that defines one GStreamer nanosecond * * Value: 1 - * + * Type: GstClockTime */ #define GST_NSECOND (GST_SECOND / G_GINT64_CONSTANT (1000000000))