mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-24 08:08:22 +00:00
hlsdemux2: Recalculate partial segments in anchor segment
When recalculating the partial segment stream times in gst_hls_media_playlist_recalculate_stream_time(), don't miss the anchor segment itself. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3883>
This commit is contained in:
parent
e1a6ec22ee
commit
1b8af98208
1 changed files with 1 additions and 0 deletions
|
@ -1342,6 +1342,7 @@ gst_hls_media_playlist_recalculate_stream_time (GstHLSMediaPlaylist * playlist,
|
|||
|
||||
GST_DEBUG ("Re-calculating stream times from segment #%d %" GST_TIME_FORMAT,
|
||||
idx, GST_TIME_ARGS (anchor->stream_time));
|
||||
gst_m3u8_media_segment_fill_partial_stream_times (anchor);
|
||||
|
||||
/* Forward */
|
||||
prev = anchor;
|
||||
|
|
Loading…
Reference in a new issue