summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gst/qtdemux/qtdemux.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c
index 812068778..880758523 100644
--- a/gst/qtdemux/qtdemux.c
+++ b/gst/qtdemux/qtdemux.c
@@ -3059,12 +3059,6 @@ gst_qtdemux_prepare_current_sample (GstQTDemux * qtdemux,
*duration = QTSAMPLE_DUR_PTS (stream, sample, *timestamp);
*keyframe = QTSAMPLE_KEYFRAME (stream, sample);
- /* update dummy segment duration */
- if (stream->sample_index == stream->n_samples - 1 && stream->n_segments == 1) {
- stream->segments[0].duration = stream->segments[0].stop_time =
- stream->segments[0].media_stop = *timestamp + *duration;
- }
-
return TRUE;
/* special cases */