[vlc-devel] commit: Qt4: need an input to update caching - fixes #2405 ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sun Jan 11 20:35:45 CET 2009
vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sun Jan 11 21:34:55 2009 +0200| [802ec3e29c38f7de55a51bc549a0d08a6adc2e32] | committer: Rémi Denis-Courmont
Qt4: need an input to update caching - fixes #2405
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=802ec3e29c38f7de55a51bc549a0d08a6adc2e32
---
modules/gui/qt4/input_manager.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/gui/qt4/input_manager.cpp b/modules/gui/qt4/input_manager.cpp
index c55b7dc..1bc8602 100644
--- a/modules/gui/qt4/input_manager.cpp
+++ b/modules/gui/qt4/input_manager.cpp
@@ -159,11 +159,11 @@ void InputManager::customEvent( QEvent *event )
i_type != InterfaceAoutUpdate_Type )
return;
+ if( !hasInput() ) return;
+
if( i_type == CachingEvent_Type )
UpdateCaching();
- if( !hasInput() ) return;
-
if( ( i_type != PositionUpdate_Type &&
i_type != ItemRateChanged_Type &&
i_type != ItemEsChanged_Type &&
More information about the vlc-devel
mailing list