Message ID | 20200217003653.20027-8-cus@passwd.hu |
---|---|
State | New |
Headers | show |
Series | [FFmpeg-devel,v2,1/9] avformat/libsrt: fix timeout unit confusion between milisec and microsec | expand |
Context | Check | Description |
---|---|---|
andriy/ffmpeg-patchwork | success | Make fate finished |
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();
Otherwise the user is not able to override the API connect timeout above 5 sec without setting also timeout. Signed-off-by: Marton Balint <cus@passwd.hu> --- libavformat/libsrt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)