summaryrefslogtreecommitdiff
path: root/libavformat/rtsp.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-04-07 03:39:56 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-04-08 17:45:13 +0200
commit0678c388bac79925a375594977cad3e41cd4c5bd (patch)
treed96c194413c16c57e14a066b5187cfcb5f371dca /libavformat/rtsp.h
parentc6ae7f64a09e3bb7f73dbb8971c59fbd9f56fce3 (diff)
downloadffmpeg-0678c388bac79925a375594977cad3e41cd4c5bd.tar.gz
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.h5
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;