From f701755b83ce059f8a719b1584b2b4891bb30a57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 26 Mar 2014 22:25:07 +0100 Subject: [PATCH] hlsdemux: Don't set the segment offset It's causing wrong running times after seeks or bitrate switches. --- ext/hls/gsthlsdemux.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ext/hls/gsthlsdemux.c b/ext/hls/gsthlsdemux.c index f3bb2a60d2..65642d2742 100644 --- a/ext/hls/gsthlsdemux.c +++ b/ext/hls/gsthlsdemux.c @@ -745,7 +745,6 @@ gst_hls_demux_configure_src_pad (GstHLSDemux * demux, GstFragment * fragment) if (G_UNLIKELY (!srccaps || demux->discont || (buf && GST_BUFFER_IS_DISCONT (buf)))) { switch_pads (demux, bufcaps); - demux->segment.offset = demux->segment.position; demux->need_segment = TRUE; demux->discont = FALSE; GST_BUFFER_FLAG_SET (buf, GST_BUFFER_FLAG_DISCONT);