Changeset 4e85202b in ffmpeg

Timestamp:
Apr 6, 2014, 2:55:03 PM (11 years ago)
Author:
Anssi Hannula <anssi.hannula@iki.fi>
Branches:
master
Children:
d549b091
Parents:
61e1a702
git-author:
Anssi Hannula <anssi.hannula@iki.fi> (12/30/13 09:27:36)
git-committer:
Anssi Hannula <anssi.hannula@iki.fi> (04/06/14 14:55:03)
Message:

avformat/hls: improve segment selection when restarting list reception

Improve selection of the segment sequence number when restarting the
reception of a playlist after it was suspended due to being unneeded
(due to discard flags).

The current code assumes that each playlist contains matching data with
the same sequence number, while spec 3.4.3 specifically says that that
is not the case. Often subtitle playlists also have longer target
durations as well, causing the selection to be completely wrong.

Instead prefer using the playlist segment duration information for
non-live playlists, and other means if that is not possible.

Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>

(No files)

Note: See TracChangeset for help on using the changeset viewer.