[vlc-devel] [PATCH] Qt: Show seek time in OSD when mouse seeking

Ancelot Mark Pinto ancelotpinto at gmail.com
Sat Aug 23 18:17:09 CEST 2014


Close #6311
---
 modules/gui/qt4/input_manager.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/gui/qt4/input_manager.cpp b/modules/gui/qt4/input_manager.cpp
index 1a04f51..9850874 100644
--- a/modules/gui/qt4/input_manager.cpp
+++ b/modules/gui/qt4/input_manager.cpp
@@ -798,7 +798,10 @@ void InputManager::UpdateProgramEvent()
 void InputManager::sliderUpdate( float new_pos )
 {
     if( hasInput() )
+    {
         var_SetFloat( p_input, "position", new_pos );
+        var_SetInteger( p_intf->p_libvlc, "key-action", ACTIONID_POSITION );
+    }
     emit seekRequested( new_pos );
 }
 
-- 
1.9.1




More information about the vlc-devel mailing list