From b96dff8a8384c896228b8cb1dc8137a7d2c40f65 Mon Sep 17 00:00:00 2001 From: Ilkka Ollakka Date: Tue, 11 Nov 2008 17:09:51 +0200 Subject: [PATCH] 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). --- 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 83dc725ed6..23c4bd76ea 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 8ec1676f90..51e0268249 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 { -- 2.39.2