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>
This commit is contained in:
parent
449e984192
commit
290a35aefe
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user