summaryrefslogtreecommitdiffstats
path: root/gst/rtsp
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@mad.scientist.com>2007-10-08 17:44:42 +0000
committerJan Schmidt <thaytan@mad.scientist.com>2007-10-08 17:44:42 +0000
commit3ca2d477b2e8f051a54ea1f781f97f14c88971e2 (patch)
tree2c81c63f90885535ebf989e70586747671ed5a44 /gst/rtsp
parent92e16a65aeed6d38e42ace28b8e2b931e7995c40 (diff)
gst/rtsp/gstrtspsrc.c: Fix compiler warning by using GST_CLOCK_TIME_NONE to initialise a GstClockTime.
Original commit message from CVS: * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_flush): Fix compiler warning by using GST_CLOCK_TIME_NONE to initialise a GstClockTime.
Diffstat (limited to 'gst/rtsp')
-rw-r--r--gst/rtsp/gstrtspsrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c
index 746d3894..1107693b 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 ();