From 0678c388bac79925a375594977cad3e41cd4c5bd Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 7 Apr 2013 03:39:56 +0200 Subject: rtsp: add option to set the socket timeout of the lower protocol. Fixes Ticket2294 Signed-off-by: Michael Niedermayer --- libavformat/rtsp.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libavformat/rtsp.h') diff --git a/libavformat/rtsp.h b/libavformat/rtsp.h index 321cd7a..4af3507 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; -- cgit v1.1