Browse Source

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>
tags/n4.3
Marton Balint 6 years ago
parent
commit
290a35aefe
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/libsrt.c

+ 1
- 1
libavformat/libsrt.c 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();


Loading…
Cancel
Save