From e8aa92074768974a89450f63fad8eb3548873fcb Mon Sep 17 00:00:00 2001 From: Laurent Aimar Date: Wed, 12 Aug 2009 23:13:24 +0200 Subject: [PATCH] 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). --- src/input/clock.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.20.1