summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2012-09-11 11:59:54 +0200
committerWim Taymans <wim.taymans@collabora.co.uk>2012-09-11 11:59:54 +0200
commita37421778699098625248d39b7d96dc05778cbfc (patch)
treef5ecf477d547db694431ecfe7183ec461753d647 /gst
parentf0989b600a30d06f8c83e9c6881308fc0336693b (diff)
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.
Diffstat (limited to 'gst')
-rw-r--r--gst/isomp4/qtdemux.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c
index 6e3e5c97b..1b316adc1 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) /