]> git.sesse.net Git - vlc/commitdiff
Do not pre-buffer too much, it has side effects with the current es_out code.
authorLaurent Aimar <fenrir@videolan.org>
Wed, 12 Aug 2009 21:13:24 +0000 (23:13 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Wed, 12 Aug 2009 21:13:24 +0000 (23:13 +0200)
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

index 811ec7a6449f84879bf6694ecf45cda1ea89b6af..a26b9c4bb0b325a7eabe2914e02a5a7c187caaaf 100644 (file)
@@ -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