[vlc-commits] Fix KEY_PAUSE double-definition

Jean-Baptiste Kempf git at videolan.org
Sat Nov 30 21:31:17 CET 2013


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Nov 29 18:53:00 2013 +0100| [c16bb9c7bfcbe9610ddd71658157cbaca98b7837] | committer: Jean-Baptiste Kempf

Fix KEY_PAUSE double-definition

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

 src/libvlc-module.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/libvlc-module.c b/src/libvlc-module.c
index 7c7126a..a787c03 100644
--- a/src/libvlc-module.c
+++ b/src/libvlc-module.c
@@ -2151,7 +2151,7 @@ vlc_module_begin ()
 #   define KEY_TOGGLE_FULLSCREEN  "Command+f"
 #   define KEY_LEAVE_FULLSCREEN   "Esc"
 #   define KEY_PLAY_PAUSE         "Space"
-#   define KEY_PAUSE              NULL
+#   define KEY_SIMPLE_PAUSE       NULL
 #   define KEY_PLAY               NULL
 #   define KEY_FASTER             "Command+="
 #   define KEY_SLOWER             "Command+-"
@@ -2266,7 +2266,7 @@ vlc_module_begin ()
 #   define KEY_TOGGLE_FULLSCREEN  "f"
 #   define KEY_LEAVE_FULLSCREEN   "Esc"
 #   define KEY_PLAY_PAUSE         "Space\tMedia Play Pause"
-#   define KEY_PAUSE              "Browser Stop"
+#   define KEY_SIMPLE_PAUSE       "Browser Stop"
 #   define KEY_PLAY               "Browser Refresh"
 #   define KEY_FASTER             "+"
 #   define KEY_SLOWER             "-"
@@ -2392,7 +2392,7 @@ vlc_module_begin ()
              LEAVE_FULLSCREEN_KEY_LONGTEXT, false )
     add_key( "key-play-pause", KEY_PLAY_PAUSE, PLAY_PAUSE_KEY_TEXT,
              PLAY_PAUSE_KEY_LONGTEXT, false )
-    add_key( "key-pause", KEY_PAUSE, PAUSE_KEY_TEXT,
+    add_key( "key-pause", KEY_SIMPLE_PAUSE, PAUSE_KEY_TEXT,
              PAUSE_KEY_LONGTEXT, true )
     add_key( "key-play", KEY_PLAY, PLAY_KEY_TEXT,
              PLAY_KEY_LONGTEXT, true )



More information about the vlc-commits mailing list