diff options
author | Marton Balint <cus@passwd.hu> | 2020-02-15 11:30:16 +0100 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2020-02-24 00:13:38 +0100 |
commit | 290a35aefed250a797449c34d2f9e5af0c4e006a (patch) | |
tree | d7c39425bb16da2440bbdbbbd409420fbd3f1f41 /libavformat | |
parent | 449e984192d94ac40713e9217871c884657dc79d (diff) | |
download | ffmpeg-290a35aefed250a797449c34d2f9e5af0c4e006a.tar.gz |
avformat/libsrt: make avformat connect timeout 0 by default
Otherwise the user is not able to override the SRT API connect timeout above 5
sec without also setting the timeout option.
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/libsrt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/libsrt.c b/libavformat/libsrt.c index f24ce46831..2d6fc4b7e7 100644 --- a/libavformat/libsrt.c +++ b/libavformat/libsrt.c @@ -361,7 +361,7 @@ static int libsrt_setup(URLContext *h, const char *uri, int flags) int ret; char hostname[1024],proto[1024],path[1024]; char portstr[10]; - int open_timeout = 5000000; + int open_timeout = 0; int eid; eid = srt_epoll_create(); |