mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
gst/gstclock.c: make it compile with gcc 2.95 again.
Original commit message from CVS: 2004-01-16 Benjamin Otte <in7y118@public.uni-hamburg.de> * gst/gstclock.c: (gst_clock_get_time): make it compile with gcc 2.95 again. Patch by Scott Wheeler
This commit is contained in:
parent
40b4e2cb9c
commit
b26be1ef68
2 changed files with 18 additions and 13 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2004-01-16 Benjamin Otte <in7y118@public.uni-hamburg.de>
|
||||||
|
|
||||||
|
* gst/gstclock.c: (gst_clock_get_time):
|
||||||
|
make it compile with gcc 2.95 again.
|
||||||
|
Patch by Scott Wheeler
|
||||||
|
|
||||||
2004-01-15 David Schleef <ds@schleef.org>
|
2004-01-15 David Schleef <ds@schleef.org>
|
||||||
|
|
||||||
* gst/gstcaps.h:
|
* gst/gstcaps.h:
|
||||||
|
|
|
@ -602,11 +602,10 @@ GstClockTime
|
||||||
gst_clock_get_time (GstClock *clock)
|
gst_clock_get_time (GstClock *clock)
|
||||||
{
|
{
|
||||||
GstClockTime ret = G_GINT64_CONSTANT (0);
|
GstClockTime ret = G_GINT64_CONSTANT (0);
|
||||||
|
GstClockClass *cclass;
|
||||||
|
|
||||||
g_return_val_if_fail (GST_IS_CLOCK (clock), G_GINT64_CONSTANT (0));
|
g_return_val_if_fail (GST_IS_CLOCK (clock), G_GINT64_CONSTANT (0));
|
||||||
|
|
||||||
GstClockClass *cclass;
|
|
||||||
|
|
||||||
cclass = GST_CLOCK_GET_CLASS (clock);
|
cclass = GST_CLOCK_GET_CLASS (clock);
|
||||||
|
|
||||||
if (cclass->get_internal_time) {
|
if (cclass->get_internal_time) {
|
||||||
|
|
Loading…
Reference in a new issue