avformat/HLS: modified EXT-X-MEDIA-SEQUENCE header in order to follow the HLS standard
authorWilly Aubry <waubry@viotech.net>
Wed, 5 Feb 2014 13:59:00 +0000 (14:59 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 3 Mar 2014 15:46:22 +0000 (16:46 +0100)
commit65c95de213d9fcf3f06513bcb9ce6ed5396fa75d
tree8b1052c25b50b09cb7ef5cfa0f0d66cb286f4bee
parent40feed524854eeaff67860e8932f792a0e373c8a
avformat/HLS: modified EXT-X-MEDIA-SEQUENCE header in order to follow the HLS standard

When using the wrap option the EXT-X-MEDIA-SEQUENCE header of the playlist file was reset instead of being incremented.
It is now incremented by one for every media URI removed from the playlist file as the standard states.

Signed-off-by: Willy Aubry <waubry@viotech.net>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/segment.c