vlc | branch: master | Rémi Denis-Courmont <[email protected]> | 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" )

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

Reply via email to