mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 20:59:44 +00:00
hlsdemux: Don't set the segment offset
It's causing wrong running times after seeks or bitrate switches.
This commit is contained in:
parent
e11a99e26a
commit
f701755b83
1 changed files with 0 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue