On Wed, 17 Sep 2014, Joakim Roubert wrote:
The -hls_allow_cache paramter enables explicitly setting the EXT-X-ALLOW-CACHE tag in the manifest file. That tag indicates whether the client MAY or MUST NOT cache downloaded media segments for later replay.Valid values are YES or NO and the EXT-X-ALLOW-CACHE will not show in the manifest for other values (or if -hls_allow_cache is not used. --- doc/muxers.texi | 2 ++ libavformat/hlsenc.c | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/doc/muxers.texi b/doc/muxers.texi index 54109c7..dbd6036 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -116,6 +116,8 @@ Set the number after which index wraps. Start the sequence from @var{number}. @item -hls_base_url @var{baseurl} Append @var{baseurl} to every entry in the playlist. +@item -hls_allow_cache @var{allowcache} +Set whether the client MAY (YES) or MUST NOT (NO) cache media segments
We normally do this kind of boolean options as integers 0/1 (or as a flag in a field of flags). Using strings for booleans isn't really the norm here.
// Martin _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
