From: RĂ©mi Duraffort Date: Fri, 9 Apr 2010 16:23:38 +0000 (+0200) Subject: lua_rc: fix pause (use the right function as it exist now). X-Git-Tag: 1.1.0-pre1~71 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=15ca46cf8f20d845b509ed2a1c447a37f90a0d1c;p=vlc lua_rc: fix pause (use the right function as it exist now). --- diff --git a/share/lua/intf/rc.lua b/share/lua/intf/rc.lua index 7612c22b37..0eac503f19 100644 --- a/share/lua/intf/rc.lua +++ b/share/lua/intf/rc.lua @@ -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" } };