hlssink,hlssink2: Ensure writing ENDLIST tag at the end
authorSeungha Yang <seungha.yang@navercorp.com>
Tue, 1 Oct 2019 06:36:29 +0000 (15:36 +0900)
committerSeungha Yang <seungha.yang@navercorp.com>
Tue, 1 Oct 2019 08:16:05 +0000 (17:16 +0900)
commitd763aeee4b40c69d5d2dc913ac04922a56650369
treed82cd49befba81f00c336f9bc6b20f965b01256e
parent71ff8236b53094cf6121552f687c383da6d063d2
hlssink,hlssink2: Ensure writing ENDLIST tag at the end

hlssink* elements could be finalized without EOS event, and in that case
the final playlist might not include the EXT-X-ENDLIST tag.
Since missing ENDLIST tag means it's live stream, but we did't intend it,
hlssink* elements should put the tag at the end.
ext/hls/gsthlssink.c
ext/hls/gsthlssink.h
ext/hls/gsthlssink2.c
ext/hls/gsthlssink2.h
ext/hls/gstm3u8playlist.h