HLS playback missing segment with EXT-X-DISCONTINUITY tags
I have an encrypted HLS asset created with Bento4 https://www.bento4.com/developers/hls/. Each individual asset is playable in VLC, however when spliced together with the required EXT-X-DISCONTINUITY tag, the first media segment is skipped during playback.
Surprisingly, if the first segment is duplicated and appended to the media playlist, then the first segment plays as it is supposed to and also plays at the end of the playlist as it is supposed to.
To demonstrate the problem, use the uploaded asset.
mux/master.m3u8 references mux/media-1/stream.m3u8 which is identical to mux/media-1/fails.m3u8 with the exception of media/fails.m3u8 has been annotated with a comment indicating the missing segment.
mux/media-1/works.m3u8 replicates the first segment and demonstrates all segments playing successfully in an otherwise identical HLS asset.
This issue was replicated on both 2.2.6 and 2.2.7 nightly.
Platform: Windows 7 x64 SP1, VLC 2.2.6
verbose logs with fails.logs and works.logs attached with upload