From: Laurent Aimar Date: Wed, 12 Aug 2009 21:13:24 +0000 (+0200) Subject: Do not pre-buffer too much, it has side effects with the current es_out code. X-Git-Tag: 1.1.0-ff~4424 X-Git-Url: https://git.videolan.org/gitweb.cgi/vlc.git/?p=vlc.git;p=vlc.git;a=commitdiff_plain;h=e8aa92074768974a89450f63fad8eb3548873fcb Do not pre-buffer too much, it has side effects with the current es_out code. At least, ES track switching became really slow (the data for the associated ES are not buffered as the decoder is not present). --- diff --git a/src/input/clock.c b/src/input/clock.c index 811ec7a644..a26b9c4bb0 100644 --- a/src/input/clock.c +++ b/src/input/clock.c @@ -95,7 +95,9 @@ * It is 60s max, remember as it is limited by the size it takes by es_out.c * it can be really large. */ -#define CR_BUFFERING_TARGET (60000000) +//#define CR_BUFFERING_TARGET (60000000) +/* Due to some problems in es_out, we cannot use a large value yet */ +#define CR_BUFFERING_TARGET (100000) /***************************************************************************** * Structures