[vlc-commits] hotkeys: fix logic, copy-paste error

Rémi Denis-Courmont git at videolan.org
Sun Jun 17 10:30:41 CEST 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jun 17 11:23:43 2018 +0300| [d03f37b50d8461c1dab08b9662245a891dbcc69c] | committer: Rémi Denis-Courmont

hotkeys: fix logic, copy-paste error

Regression from 73e4a2e8883190230087562fbe9bb280d0423089.

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

 modules/control/hotkeys.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/control/hotkeys.c b/modules/control/hotkeys.c
index 92ee7c0960..dcf0553a8b 100644
--- a/modules/control/hotkeys.c
+++ b/modules/control/hotkeys.c
@@ -742,7 +742,7 @@ static int PutAction( intf_thread_t *p_intf, input_thread_t *p_input,
         case ACTIONID_AUDIODELAY_DOWN:
         case ACTIONID_AUDIODELAY_UP:
         {
-            mtime_t diff = (i_action == ACTIONID_SUBDELAY_UP) ? 50000 : -50000;
+            mtime_t diff = (i_action == ACTIONID_AUDIODELAY_UP) ? 50000 : -50000;
             if( p_input )
             {
                 mtime_t i_delay = var_GetInteger( p_input, "audio-delay" )



More information about the vlc-commits mailing list