diff options
author | erankor <eran.kornblau@kaltura.com> | 2021-12-27 11:20:24 +0200 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2021-12-31 14:27:00 -0500 |
commit | 6348be83e8d16671dde07d299a6d6e973f94d3e2 (patch) | |
tree | 3a528699ded48f9d6bdb1282fb10b4c8d760ff02 /libavformat/version.h | |
parent | 2f6360ff21a98f9db6af3e0932d39f1dc7b47d6c (diff) | |
download | ffmpeg-6348be83e8d16671dde07d299a6d6e973f94d3e2.tar.gz |
http: make caching of redirect url optional
added "cache_redirect" option to http.
when enabled, requests issued after seek will use the latest redirected
url.
when disabled, each call to seek will revert to the original url that
was sent to http_open.
currently, the default remains 'enabled', until the next major
libavformat bump, where it will change to 'disabled'.
Diffstat (limited to 'libavformat/version.h')
-rw-r--r-- | libavformat/version.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/version.h b/libavformat/version.h index 917b9ffa5d..f372380dcf 100644 --- a/libavformat/version.h +++ b/libavformat/version.h @@ -60,6 +60,7 @@ #define FF_API_AVIOCONTEXT_WRITTEN (LIBAVFORMAT_VERSION_MAJOR < 60) #define FF_HLS_TS_OPTIONS (LIBAVFORMAT_VERSION_MAJOR < 60) #define FF_API_AVSTREAM_CLASS (LIBAVFORMAT_VERSION_MAJOR > 59) +#define FF_HTTP_CACHE_REDIRECT_DEFAULT (LIBAVFORMAT_VERSION_MAJOR < 60) #define FF_API_R_FRAME_RATE 1 |