mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
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.
This commit is contained in:
parent
f0989b600a
commit
a374217786
1 changed files with 0 additions and 1 deletions
|
@ -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) /
|
||||
|
|
Loading…
Reference in a new issue