[FFmpeg-devel] [PATCH 3/6] Document tcp proto 'listen_timeout' option

Andrey Utkin andrey.krieger.utkin at gmail.com
Thu Sep 13 02:43:30 CEST 2012

There's a tiny issue. This option was not documented. It was done initially to take value in milliseconds, and maybe we could change it to take microseconds, uniformly with other timeout options around.


 doc/protocols.texi |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/doc/protocols.texi b/doc/protocols.texi
index e790459..3bdd4b7 100644
--- a/doc/protocols.texi
+++ b/doc/protocols.texi
@@ -583,6 +583,9 @@ In read mode: if no data arrived in more than this time interval, raise error.
 In write mode: if socket cannot be written in more than this time interval, raise error.
 This also sets timeout on TCP connection establishing.
+ at item listen_timeout=@var{milliseconds}
+If set up for listening, the connection is awaited for this much time.
 ffmpeg -i @var{input} -f @var{format} tcp://@var{hostname}:@var{port}?listen
 ffplay tcp://@var{hostname}:@var{port}

More information about the ffmpeg-devel mailing list