From 028b6d2b5cf6a6dc593921c4ceab60a747eccf71 Mon Sep 17 00:00:00 2001
From: Andrey Utkin <andrey.krieger.utkin@gmail.com>
Date: Mon, 27 Aug 2012 16:31:09 +0300
Subject: Add 'timeout' option to UDP protocol

This patch accepts 'timeout' option for input mode only. As far as i know, UDP output cannot introduce delays.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
---
 doc/protocols.texi | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'doc/protocols.texi')

diff --git a/doc/protocols.texi b/doc/protocols.texi
index 883c2e46c1..0ad985c20a 100644
--- a/doc/protocols.texi
+++ b/doc/protocols.texi
@@ -694,6 +694,9 @@ packets with size of 188 bytes. If not specified defaults to 7*4096.
 @item overrun_nonfatal=@var{1|0}
 Survive in case of UDP receiving circular buffer overrun. Default
 value is 0.
+
+@item timeout=@var{microseconds}
+In read mode: if no data arrived in more than this time interval, raise error.
 @end table
 
 Some usage examples of the UDP protocol with @command{ffmpeg} follow.
-- 
cgit v1.2.3