vlc/vlc-3.0 | branch: master | Pierre Lamot <[email protected]> | Mon Oct 19 
09:55:49 2020 +0200| [963417f14b3842822c680ec78c97fc999c32305a] | committer: 
Pierre Lamot

qt: fix changing rate (coarse) does not display OSD messages

  changing the player ratet through the hotkeys does display the rate on OSD
  whereas changing directly the rate in the player doesn't

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

 modules/gui/qt/input_manager.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt/input_manager.cpp b/modules/gui/qt/input_manager.cpp
index ede449141f..5aee413ff4 100644
--- a/modules/gui/qt/input_manager.cpp
+++ b/modules/gui/qt/input_manager.cpp
@@ -894,12 +894,12 @@ void InputManager::reverse()
 
 void InputManager::slower()
 {
-    var_TriggerCallback( THEPL, "rate-slower" );
+    var_SetInteger( p_intf->obj.libvlc, "key-action", ACTIONID_SLOWER );
 }
 
 void InputManager::faster()
 {
-    var_TriggerCallback( THEPL, "rate-faster" );
+    var_SetInteger( p_intf->obj.libvlc, "key-action", ACTIONID_FASTER );
 }
 
 void InputManager::littlefaster()

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to