This patch adds the option hls_version, which specifies to which HLS protocol 
version it should conform. Using a version number that equals or is greater 
than 3 will cause segment lengths to be floats instead of integers.
Since in future there might be more differences, I think the approach by 
specifying a version number is the best and most flexible.

In addition this patch fixes a bug using the hls_list_size option, if it was 
set to 0 it caused an empty playlist (except playlist headers and closing tag), 
which doesn’t make any sense. I changed this behaviour, so that when specifying 
0, all segments will stay in the playlist. That is really useful when 
generating VOD streams.  


--  
Marvin S.

Attachment: 0001-libavformat-hlsenc-Fix-hls_list_size-add-hls_version.patch
Description: Binary data

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to