[vlc-commits] commit: lua_rc: fix pause (use the right function as it exist now). ( Rémi Duraffort )

git at videolan.org git at videolan.org
Sat Apr 10 11:17:33 CEST 2010


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Fri Apr  9 18:23:38 2010 +0200| [15ca46cf8f20d845b509ed2a1c447a37f90a0d1c] | committer: Rémi Duraffort 

lua_rc: fix pause (use the right function as it exist now).

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

 share/lua/intf/rc.lua |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/share/lua/intf/rc.lua b/share/lua/intf/rc.lua
index 7612c22..0eac503 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" } };



More information about the vlc-commits mailing list