hlsdemux: When updating a non-live playlist make sure to find the current sequence...
authorSebastian Dröge <sebastian@centricular.com>
Thu, 10 Apr 2014 12:46:01 +0000 (14:46 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 10 Apr 2014 13:06:53 +0000 (15:06 +0200)
commit864399f29906687fefbd1b615c47ba326d8e241a
treeec65eb62147a1eec680e7fa1cc1b83e346ccf8b6
parent14f8172d2bd4cb9ce38f60cfe6cb6c18709c1c14
hlsdemux: When updating a non-live playlist make sure to find the current sequence by time

Sequence numbers in different playlists are not guaranteed to be the same for the
same position, e.g. fragments could have different durations in different playlists.

In theory we should do exactly the same for live playlists, but unfortunately we can't
because doing this kind of seeking requires the complete playlist since we started
playback. For live playlists the server is however dropping fragments in the beginning
over time and we have no absolute time references.
ext/hls/gsthlsdemux.c