mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-28 14:52:24 +00:00
gst/gstclock.h: Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need to cast the input to GstClockTime before comp...
Original commit message from CVS: * gst/gstclock.h: Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need to cast the input to GstClockTime before comparing with another GstClockTime value.
This commit is contained in:
parent
485f6d33cd
commit
61ce17d6f3
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
|
* gst/gstclock.h:
|
||||||
|
Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
|
||||||
|
to cast the input to GstClockTime before comparing with
|
||||||
|
another GstClockTime value.
|
||||||
|
|
||||||
2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
|
2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
* configure.ac:
|
* configure.ac:
|
||||||
|
|
|
@ -79,7 +79,7 @@ typedef gpointer GstClockID;
|
||||||
*
|
*
|
||||||
* Tests if a given #GstClockTime represents a valid defined time.
|
* Tests if a given #GstClockTime represents a valid defined time.
|
||||||
*/
|
*/
|
||||||
#define GST_CLOCK_TIME_IS_VALID(time) ((time) != GST_CLOCK_TIME_NONE)
|
#define GST_CLOCK_TIME_IS_VALID(time) (((GstClockTime)(time)) != GST_CLOCK_TIME_NONE)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GST_SECOND:
|
* GST_SECOND:
|
||||||
|
|
Loading…
Reference in a new issue