[vlc-commits] commit: qt4: don't deaccelerate when closing on target in pictureflow ( Ilkka Ollakka )

git at videolan.org git at videolan.org
Sun Oct 31 16:42:56 CET 2010


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Sun Oct 31 17:42:48 2010 +0200| [067da77cc7176ad8d0db729967b9c2ee3681a77a] | committer: Ilkka Ollakka 

qt4: don't deaccelerate when closing on target in pictureflow

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

 modules/gui/qt4/util/pictureflow.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt4/util/pictureflow.cpp b/modules/gui/qt4/util/pictureflow.cpp
index c43e685..54f6503 100644
--- a/modules/gui/qt4/util/pictureflow.cpp
+++ b/modules/gui/qt4/util/pictureflow.cpp
@@ -301,9 +301,9 @@ void PictureFlowAnimator::update()
     if (!state)
         return;
 
-    int speed = 16384 / 4;
+    int speed = 16384;
 
-#if 1
+#if 0
     // deaccelerate when approaching the target
     const int max = 2 * 65536;
 



More information about the vlc-commits mailing list