diff --git a/gst/mpegtsdemux/tsdemux.c b/gst/mpegtsdemux/tsdemux.c index fdaf63a44b..dac3e54237 100644 --- a/gst/mpegtsdemux/tsdemux.c +++ b/gst/mpegtsdemux/tsdemux.c @@ -2242,8 +2242,6 @@ gst_ts_demux_push_pending_data (GstTSDemux * demux, TSDemuxStream * stream) demux->segment.position = GST_BUFFER_DTS (buffer) - stream->first_dts; else if (GST_CLOCK_TIME_IS_VALID (GST_BUFFER_PTS (buffer))) demux->segment.position = GST_BUFFER_PTS (buffer) - stream->first_dts; - if (demux->segment.position < 0) - demux->segment.position = 0; res = gst_pad_push (stream->pad, buffer); /* Record that a buffer was pushed */