mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 03:00:35 +00:00
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
This commit is contained in:
parent
f95996d97f
commit
e552cc74d9
1 changed files with 7 additions and 4 deletions
|
@ -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))
|
||||
|
||||
|
|
Loading…
Reference in a new issue