diff options
author | Steven Liu <lq@chinaffmpeg.org> | 2017-02-11 12:32:31 +0800 |
---|---|---|
committer | Steven Liu <lq@chinaffmpeg.org> | 2017-02-11 12:32:31 +0800 |
commit | d96ebc5ef88024869de06bcf92b2ad99b01d47e3 (patch) | |
tree | 94d9fb9ea850a7ff2a0e58ebf27ac4a9a7d76386 /libavformat/version.h | |
parent | 96ee6da4010637aa7ce7023fd6ad29b67a0d9c4c (diff) | |
download | ffmpeg-d96ebc5ef88024869de06bcf92b2ad99b01d47e3.tar.gz |
avformat/hlsenc: deprecate hls_wrap option
When user use the hls_wrap, there have many problem:
1. some platform refersh the old but usefull segment
2. CDN(Content Delivery Network) Deliver HLS not friendly
The hls_wrap is used to wrap segments for use little space,
now user can use hls_list_size and hls_flags delete_segments
instead it.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Reviewed-by: Carl Eugen Hoyos <ceffmpeg@gmail.com>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
Diffstat (limited to 'libavformat/version.h')
-rw-r--r-- | libavformat/version.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavformat/version.h b/libavformat/version.h index 6a908b0f03..7368743236 100644 --- a/libavformat/version.h +++ b/libavformat/version.h @@ -85,6 +85,10 @@ #ifndef FF_API_HTTP_USER_AGENT #define FF_API_HTTP_USER_AGENT (LIBAVFORMAT_VERSION_MAJOR < 58) #endif +#ifndef FF_API_HLS_WRAP +#define FF_API_HLS_WRAP (LIBAVFORMAT_VERSION_MAJOR < 58) +#endif + #ifndef FF_API_R_FRAME_RATE #define FF_API_R_FRAME_RATE 1 |