]> git.sesse.net Git - vlc/commitdiff
lua_rc: fix pause (use the right function as it exist now).
authorRémi Duraffort <ivoire@videolan.org>
Fri, 9 Apr 2010 16:23:38 +0000 (18:23 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Sat, 10 Apr 2010 09:16:54 +0000 (11:16 +0200)
share/lua/intf/rc.lua

index 7612c22b37f91f6c537fdf4e869007ff16a1e60f..0eac503f1955ac13e898ee65a3e8a362ed14dd28 100644 (file)
@@ -509,7 +509,7 @@ commands_ordered = {
     { "chapter_p"; { func = titlechap_offset(-1); help = "previous chapter in current item" } };
     { "" };
     { "seek"; { func = seek; args = "X"; help = "seek in seconds, for instance `seek 12'" } };
-    { "pause"; { func = setarg(common.hotkey,"key-play-pause"); help = "toggle pause" } };
+    { "pause"; { func = skip2(vlc.playlist.pause); help = "toggle pause" } };
     { "fastforward"; { func = setarg(common.hotkey,"key-jump+extrashort"); help = "set to maximum rate" } };
     { "rewind"; { func = setarg(common.hotkey,"key-jump-extrashort"); help = "set to minimum rate" } };
     { "faster"; { func = rate; help = "faster playing of stream" } };