From a37421778699098625248d39b7d96dc05778cbfc Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 11 Sep 2012 11:59:54 +0200 Subject: [PATCH] qtdemux: don't reset segment Don't reset the segment because we need the values for accumulation. the segment is reset at start and after a flushing seek. Fixes some problems with files with quicktime segments. --- gst/isomp4/qtdemux.c | 1 - 1 file changed, 1 deletion(-) diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c index 6e3e5c9..1b316ad 100644 --- a/gst/isomp4/qtdemux.c +++ b/gst/isomp4/qtdemux.c @@ -3120,7 +3120,6 @@ gst_qtdemux_activate_segment (GstQTDemux * qtdemux, QtDemuxStream * stream, rate = segment->rate * qtdemux->segment.rate; /* update the segment values used for clipping */ - gst_segment_init (&stream->segment, GST_FORMAT_TIME); /* accumulate previous segments */ if (GST_CLOCK_TIME_IS_VALID (stream->segment.stop)) stream->segment.base += (stream->segment.stop - stream->segment.start) / -- 2.7.4