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:
Marton Balint 2020-02-15 11:30:16 +01:00
parent 449e984192
commit 290a35aefe
1 changed files with 1 additions and 1 deletions

View File

@ -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();