[Mplayer-cvslog] CVS: main/input input.c,1.21,1.22
Alban Bedel CVS
albeu at mplayer.dev.hu
Sat Mar 16 17:36:35 CET 2002
Update of /cvsroot/mplayer/main/input
In directory mplayer:/var/tmp.root/cvs-serv15014/input
Modified Files:
input.c
Log Message:
Now enter key quit if no next file is avaible
Index: input.c
===================================================================
RCS file: /cvsroot/mplayer/main/input/input.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- input.c 13 Mar 2002 10:59:13 -0000 1.21
+++ input.c 16 Mar 2002 16:36:32 -0000 1.22
@@ -37,8 +37,8 @@
{ MP_CMD_QUIT, "quit", 0, { {-1,{0}} } },
{ MP_CMD_PAUSE, "pause", 0, { {-1,{0}} } },
{ MP_CMD_GRAB_FRAMES, "grab_frames",0, { {-1,{0}} } },
- { MP_CMD_PLAY_TREE_STEP, "pt_step",1, { { MP_CMD_ARG_INT ,{0}}, {-1,{0}} } },
- { MP_CMD_PLAY_TREE_UP_STEP, "pt_up_step",1, { { MP_CMD_ARG_INT,{0} }, {-1,{0}} } },
+ { MP_CMD_PLAY_TREE_STEP, "pt_step",1, { { MP_CMD_ARG_INT ,{0}}, { MP_CMD_ARG_INT ,{0}}, {-1,{0}} } },
+ { MP_CMD_PLAY_TREE_UP_STEP, "pt_up_step",1, { { MP_CMD_ARG_INT,{0} }, { MP_CMD_ARG_INT ,{0}}, {-1,{0}} } },
{ MP_CMD_PLAY_ALT_SRC_STEP, "alt_src_step",1, { { MP_CMD_ARG_INT,{0} }, {-1,{0}} } },
{ MP_CMD_SUB_DELAY, "sub_delay",1, { {MP_CMD_ARG_FLOAT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } },
{ MP_CMD_OSD, "osd",0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } },
@@ -157,12 +157,16 @@
{ { 'q', 0 }, "quit" },
{ { KEY_ESC, 0 }, "quit" },
{ { KEY_ENTER, 0 }, "quit" },
-// { { 'p', 0 }, "pause" },
+#ifndef HAVE_NEW_GUI
+ { { 'p', 0 }, "pause" },
+#endif
{ { ' ', 0 }, "pause" },
{ { KEY_HOME, 0 }, "pt_up_step 1" },
{ { KEY_END, 0 }, "pt_up_step -1" },
{ { '>', 0 }, "pt_step 1" },
-// { { KEY_ENTER, 0 }, "pt_step 1" },
+#ifndef HAVE_NEW_GUI
+ { { KEY_ENTER, 0 }, "pt_step 1 1" },
+#endif
{ { '<', 0 }, "pt_step -1" },
{ { KEY_INS, 0 }, "alt_src_step 1" },
{ { KEY_DEL, 0 }, "alt_src_step -1" },
More information about the MPlayer-cvslog
mailing list