From 4ac410ce711dd02f9fa57c7d271d865ee40a086c Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 9 Dec 2016 11:31:21 +0100 Subject: Increase libvlc startup buffer timeout Some streams need additional time at startup before they output data --- src/odr-audioenc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/odr-audioenc.cpp') diff --git a/src/odr-audioenc.cpp b/src/odr-audioenc.cpp index 801581e..d0f95e5 100644 --- a/src/odr-audioenc.cpp +++ b/src/odr-audioenc.cpp @@ -962,7 +962,7 @@ int main(int argc, char *argv[]) } } else { - const int timeout_ms = 1000; + const int timeout_ms = 10000; read_bytes = input_buf.size(); /*! pop_wait() must return after a timeout, otherwise the silence detector cannot do -- cgit v1.2.3