]> git.sesse.net Git - vlc/blobdiff - share/lua/intf/rc.lua
lua_rc: fix pause (use the right function as it exist now).
[vlc] / 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" } };