[FFmpeg-devel] [PATCH] Add support for HLS PLAYLIST types EVENT and VOD

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Dec 16 23:06:10 CET 2015

Adam Kent <adam <at> semicircular.net> writes:

> +    if (hls->flags & HLS_EVENT_PLAYLIST) {
> +        avio_printf(out, "#EXT-X-PLAYLIST-TYPE:EVENT\n");
> +    } else if (hls->flags & HLS_VOD_PLAYLIST) {
> +        avio_printf(out, "#EXT-X-PLAYLIST-TYPE:VOD\n");

This seems to indicate that they are exclusive 
(it it not ok to set both).

If this is true, I believe you should use a 
"playlist" options that allows to set "none", 
"event" or "vod".

Carl Eugen

More information about the ffmpeg-devel mailing list