diff --git a/ChangeLog b/ChangeLog index 6b3da5ba9a..954a7094dd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-10-08 Jan Schmidt + + * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_flush): + Fix compiler warning by using GST_CLOCK_TIME_NONE to initialise + a GstClockTime. + 2007-10-08 Wim Taymans * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_flush), diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index 746d389494..1107693bdf 100644 --- a/gst/rtsp/gstrtspsrc.c +++ b/gst/rtsp/gstrtspsrc.c @@ -1125,7 +1125,7 @@ gst_rtspsrc_flush (GstRTSPSrc * src, gboolean flush) GstState state; GList *walk; GstClock *clock; - GstClockTime base_time = -1; + GstClockTime base_time = GST_CLOCK_TIME_NONE; if (flush) { event = gst_event_new_flush_start ();