diff options
author | Michael Niedermayer | 2013-04-07 03:39:56 +0200 |
---|---|---|
committer | Michael Niedermayer | 2013-04-08 17:45:13 +0200 |
commit | 0678c388bac79925a375594977cad3e41cd4c5bd (patch) | |
tree | d96c194413c16c57e14a066b5187cfcb5f371dca /libavformat/rtsp.h | |
parent | c6ae7f64a09e3bb7f73dbb8971c59fbd9f56fce3 (diff) |
rtsp: add option to set the socket timeout of the lower protocol.
Fixes Ticket2294
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/rtsp.h')
-rw-r--r-- | libavformat/rtsp.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/rtsp.h b/libavformat/rtsp.h index 321cd7a1f8..4af3507d73 100644 --- a/libavformat/rtsp.h +++ b/libavformat/rtsp.h @@ -391,6 +391,11 @@ typedef struct RTSPState { int initial_timeout; /** + * timeout of socket i/o operations. + */ + int stimeout; + + /** * Size of RTP packet reordering queue. */ int reordering_queue_size; |