[Mplayer-cvslog] CVS: main mplayer.c,1.424,1.425
Arpi of Ize
arpi at mplayer.dev.hu
Sun Mar 10 04:47:45 CET 2002
Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv16042
Modified Files:
mplayer.c
Log Message:
-subpos key bindings with new input layer - patch by Tomas Konir <moje at molly.vabo.cz>
Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.424
retrieving revision 1.425
diff -u -r1.424 -r1.425
--- mplayer.c 7 Mar 2002 17:50:24 -0000 1.424
+++ mplayer.c 10 Mar 2002 03:47:30 -0000 1.425
@@ -2630,6 +2630,15 @@
#endif
video_out->control(VOCTRL_FULLSCREEN, 0);
} break;
+ case MP_CMD_SUB_POS:
+ {
+ int v;
+ v = cmd->args[0].v.i;
+
+ sub_pos+=v;
+ if(sub_pos >100) sub_pos=100;
+ if(sub_pos <0) sub_pos=0;
+ } break;
default : {
#ifdef HAVE_NEW_GUI
if ( ( use_gui )&&( cmd->id > MP_CMD_GUI_EVENTS ) ) guiGetEvent( guiIEvent,(char *)cmd->id );
More information about the MPlayer-cvslog
mailing list