[MPlayer-dev-eng] Playlist X11 keys fix
Panagiotis Issaris
takis at lumumba.luc.ac.be
Tue Dec 4 00:09:55 CET 2001
Hi,
This patch enables the '<' and '>' keys to move through playlists
while mplayer is run fullscreen or -more in general- when the focus
is on a X11 window. Furthermore, it adds these keys to the HTML documentation.
With friendly regards,
Takis
--
Public key: http://lumumba.luc.ac.be/takis/takis_public_key.txt
ICQ: 12764288
-------------- next part --------------
Index: DOCS/documentation.html
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/documentation.html,v
retrieving revision 1.124
diff -u -u -r1.124 documentation.html
--- DOCS/documentation.html 1 Dec 2001 11:30:21 -0000 1.124
+++ DOCS/documentation.html 2 Dec 2001 17:45:07 -0000
@@ -669,6 +669,7 @@
<TD> </TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2><- or -></TD><TD> </TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>seek backward/forward 10 seconds</TD><TR>
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>up or down</TD><TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>seek backward/forward 1 minute</TD><TR>
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>pgup/pgdown</TD><TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>seek backward/forward 10 minutes</TD><TR>
+<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>< or ></TD><TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>seek backward/forward in playlist</TD><TR>
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>p or SPACE</TD><TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>pause movie (press any key)</TD><TR>
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>q or ESC</TD><TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>stop playing and quit program</TD><TR>
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>+ or -</TD><TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>adjust audio delay by +/- 0.1 second</TD><TR>
Index: libvo/wskeys.h
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/wskeys.h,v
retrieving revision 1.4
diff -u -u -r1.4 wskeys.h
--- libvo/wskeys.h 15 Apr 2001 22:55:21 -0000 1.4
+++ libvo/wskeys.h 2 Dec 2001 17:45:08 -0000
@@ -62,6 +62,8 @@
#define wsPlus '+'
#define wsMul '*'
#define wsDiv '/'
+#define wsLess '<'
+#define wsMore '>'
#define wsUp 0x52 + 256
#define wsDown 0x54 + 256
Index: libvo/x11_common.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/x11_common.c,v
retrieving revision 1.35
diff -u -u -r1.35 x11_common.c
--- libvo/x11_common.c 22 Oct 2001 14:19:48 -0000 1.35
+++ libvo/x11_common.c 2 Dec 2001 17:45:08 -0000
@@ -241,6 +241,8 @@
case wsMul: mplayer_put_key('*'); break;
case wsGrayDiv:
case wsDiv: mplayer_put_key('/'); break;
+ case wsLess: mplayer_put_key('<'); break;
+ case wsMore: mplayer_put_key('>'); break;
case wsm:
case wsM: mplayer_put_key('m'); break;
case wso:
More information about the MPlayer-dev-eng
mailing list