diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-12-09 11:31:21 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-12-09 11:31:21 +0100 |
commit | 4ac410ce711dd02f9fa57c7d271d865ee40a086c (patch) | |
tree | 7809a35361be36db5abcd062ba775cb290f3d986 | |
parent | 36218d6e84269dffae0da867f0ea1db1e63bb89e (diff) | |
download | ODR-AudioEnc-4ac410ce711dd02f9fa57c7d271d865ee40a086c.tar.gz ODR-AudioEnc-4ac410ce711dd02f9fa57c7d271d865ee40a086c.tar.bz2 ODR-AudioEnc-4ac410ce711dd02f9fa57c7d271d865ee40a086c.zip |
Increase libvlc startup buffer timeout
Some streams need additional time at startup before they output data
-rw-r--r-- | src/odr-audioenc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |