summaryrefslogtreecommitdiff
path: root/doc/protocols.texi
diff options
context:
space:
mode:
authorGyan Doshi <ffmpeg@gyani.pro>2020-12-27 14:50:24 +0530
committerGyan Doshi <ffmpeg@gyani.pro>2020-12-27 14:50:24 +0530
commitbff6fbead81498525ef1366bb5bff31a2c737db5 (patch)
tree6943314c4faf77d36026377ea3dfa30063a878e0 /doc/protocols.texi
parent5b48d2af43861d7cd84f52ed6f949449c652076d (diff)
downloadffmpeg-bff6fbead81498525ef1366bb5bff31a2c737db5.tar.gz
doc/protocols: document cache option
Add entry for read_ahead_limit
Diffstat (limited to 'doc/protocols.texi')
-rw-r--r--doc/protocols.texi10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/protocols.texi b/doc/protocols.texi
index de377a9546..00a6665482 100644
--- a/doc/protocols.texi
+++ b/doc/protocols.texi
@@ -175,6 +175,16 @@ Caching wrapper for input stream.
Cache the input stream to temporary file. It brings seeking capability to live streams.
+The accepted options are:
+@table @option
+
+@item read_ahead_limit
+Amount in bytes that may be read ahead when seeking isn't supported. Range is -1 to INT_MAX.
+-1 for unlimited. Default is 65536.
+
+@end table
+
+URL Syntax is
@example
cache:@var{URL}
@end example