aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-12-09 11:31:21 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-12-09 11:31:21 +0100
commit4ac410ce711dd02f9fa57c7d271d865ee40a086c (patch)
tree7809a35361be36db5abcd062ba775cb290f3d986
parent36218d6e84269dffae0da867f0ea1db1e63bb89e (diff)
downloadODR-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.cpp2
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