basesink: lets keep -1 for segmenst as they are guint64 and not GstClockTime
authorStefan Kost <ensonic@users.sf.net>
Fri, 9 Oct 2009 14:44:28 +0000 (17:44 +0300)
committerStefan Kost <ensonic@users.sf.net>
Fri, 9 Oct 2009 14:44:28 +0000 (17:44 +0300)
libs/gst/base/gstbasesink.c

index 0caed2d..137e80b 100644 (file)
@@ -3276,9 +3276,9 @@ gst_base_sink_chain_unlocked (GstBaseSink * basesink, GstPad * pad,
     /* this means this sink will assume timestamps start from 0 */
     GST_OBJECT_LOCK (basesink);
     clip_segment->start = 0;
-    clip_segment->stop = GST_CLOCK_TIME_NONE;
+    clip_segment->stop = -1;
     basesink->segment.start = 0;
-    basesink->segment.stop = GST_CLOCK_TIME_NONE;
+    basesink->segment.stop = -1;
     basesink->have_newsegment = TRUE;
     GST_OBJECT_UNLOCK (basesink);
   }