[vlc-devel] commit: Modify caching-values in simple-preferences, so new base values are (Ilkka Ollakka )

git version control git at videolan.org
Tue Nov 11 17:28:38 CET 2008


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Tue Nov 11 17:09:51 2008 +0200| [b96dff8a8384c896228b8cb1dc8137a7d2c40f65] | committer: Ilkka Ollakka 

Modify caching-values in simple-preferences, so new base values are
100 200 300 750 2500

For http/rtsp caching is doubled, for mms its 10x that (maybe too much on that one).

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

 modules/gui/qt4/components/simple_preferences.cpp |    6 +++---
 modules/gui/qt4/components/simple_preferences.hpp |    4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp
index 83dc725..23c4bd7 100644
--- a/modules/gui/qt4/components/simple_preferences.cpp
+++ b/modules/gui/qt4/components/simple_preferences.cpp
@@ -651,11 +651,11 @@ void SPrefsPanel::apply()
             CaC( "tcp-caching" ); CaC( "vcd-caching" );
             CaC( "fake-caching" ); CaC( "cdda-caching" ); CaC( "file-caching" );
             CaC( "screen-caching" );
-            CaCi( "rtsp-caching", 4 ); CaCi( "ftp-caching", 2 );
-            CaCi( "http-caching", 4 );
+            CaCi( "rtsp-caching", 2 ); CaCi( "ftp-caching", 2 );
+            CaCi( "http-caching", 2 );
             if (module_exists ("access_realrtsp" ))
                 CaCi( "realrtsp-caching", 10 );
-            CaCi( "mms-caching", 19 );
+            CaCi( "mms-caching", 10 );
             #ifdef WIN32
             CaC( "dshow-caching" );
             #else
diff --git a/modules/gui/qt4/components/simple_preferences.hpp b/modules/gui/qt4/components/simple_preferences.hpp
index 8ec1676..51e0268 100644
--- a/modules/gui/qt4/components/simple_preferences.hpp
+++ b/modules/gui/qt4/components/simple_preferences.hpp
@@ -57,8 +57,8 @@ enum {
     CachingLowest = 100,
     CachingLow    = 200,
     CachingNormal = 300,
-    CachingHigh   = 400,
-    CachingHigher = 500
+    CachingHigh   = 750,
+    CachingHigher = 2500
 };
 
 enum {




More information about the vlc-devel mailing list