summaryrefslogtreecommitdiff
path: root/doc/protocols.texi
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2019-04-03 01:13:55 +0200
committerMarton Balint <cus@passwd.hu>2019-04-11 21:18:51 +0200
commit3e10223385b83358f013cbf6ba069f15fedc731a (patch)
tree2dc382e9b557f17ee1e4dd2a5f1a43a53f126d22 /doc/protocols.texi
parent6ed7df5b20e46b30f16deca5b619a1cf88bd48b3 (diff)
downloadffmpeg-3e10223385b83358f013cbf6ba069f15fedc731a.tar.gz
avformat/file: add seekable option to disallow seeking
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'doc/protocols.texi')
-rw-r--r--doc/protocols.texi8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/protocols.texi b/doc/protocols.texi
index e1caa049a5..3e4e7af3d4 100644
--- a/doc/protocols.texi
+++ b/doc/protocols.texi
@@ -199,6 +199,14 @@ If set to 1, the protocol will retry reading at the end of the file, allowing
reading files that still are being written. In order for this to terminate,
you either need to use the rw_timeout option, or use the interrupt callback
(for API users).
+
+@item seekable
+Controls if seekability is advertised on the file. 0 means non-seekable, -1
+means auto (seekable for normal files, non-seekable for named pipes).
+
+Many demuxers handle seekable and non-seekable resources differently,
+overriding this might speed up opening certain files at the cost of losing some
+features (e.g. accurate seeking).
@end table
@section ftp