basesink: lets keep -1 for segmenst as they are guint64 and not GstClockTime

This commit is contained in:
Stefan Kost 2009-10-09 17:44:28 +03:00
parent 4efc01a61d
commit 7fcd73875f

View 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);
}