[vlc-devel] commit: Do not pre-buffer too much, it has side effects with the current es_out code. (Laurent Aimar )

git version control git at videolan.org
Wed Aug 12 23:20:40 CEST 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Wed Aug 12 23:13:24 2009 +0200| [e8aa92074768974a89450f63fad8eb3548873fcb] | committer: Laurent Aimar 

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).

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e8aa92074768974a89450f63fad8eb3548873fcb
---

 src/input/clock.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/input/clock.c b/src/input/clock.c
index 811ec7a..a26b9c4 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




More information about the vlc-devel mailing list