Index: mplayer.c =================================================================== RCS file: /cvsroot/mplayer/main/mplayer.c,v retrieving revision 1.794 diff -u -r1.794 mplayer.c --- mplayer.c 10 Oct 2004 17:39:07 -0000 1.794 +++ mplayer.c 12 Oct 2004 10:27:14 -0000 @@ -2597,6 +2597,7 @@ osd_show_av_delay = 9; if(sh_audio) sh_audio->delay+= v; } break; + case MP_CMD_FRAME_STEP : case MP_CMD_PAUSE : { osd_function=OSD_PAUSE; brk_cmd = 1; Index: input/input.c =================================================================== RCS file: /cvsroot/mplayer/main/input/input.c,v retrieving revision 1.99 diff -u -r1.99 input.c --- input/input.c 10 Oct 2004 17:39:06 -0000 1.99 +++ input/input.c 12 Oct 2004 10:27:19 -0000 @@ -57,6 +57,7 @@ { MP_CMD_AUDIO_DELAY, "audio_delay", 1, { {MP_CMD_ARG_FLOAT,{0}}, {-1,{0}} } }, { MP_CMD_QUIT, "quit", 0, { {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, { MP_CMD_PAUSE, "pause", 0, { {-1,{0}} } }, + { MP_CMD_FRAME_STEP, "frame_step", 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}}, { 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}} } }, Index: input/input.h =================================================================== RCS file: /cvsroot/mplayer/main/input/input.h,v retrieving revision 1.47 diff -u -r1.47 input.h --- input/input.h 10 Oct 2004 17:39:06 -0000 1.47 +++ input/input.h 12 Oct 2004 10:27:20 -0000 @@ -57,6 +57,7 @@ #define MP_CMD_VO_ROOTWIN 53 #define MP_CMD_SWITCH_VSYNC 54 #define MP_CMD_SWITCH_RATIO 55 +#define MP_CMD_FRAME_STEP 56 #define MP_CMD_GUI_EVENTS 5000 #define MP_CMD_GUI_LOADFILE 5001 Index: etc/input.conf =================================================================== RCS file: /cvsroot/mplayer/main/etc/input.conf,v retrieving revision 1.11 diff -u -r1.11 input.conf --- etc/input.conf 30 Nov 2003 16:36:05 -0000 1.11 +++ etc/input.conf 12 Oct 2004 10:27:20 -0000 @@ -19,6 +19,7 @@ ESC quit ENTER pt_step 1 1 p pause +s frame_step SPACE pause HOME pt_up_step 1 END pt_up_step -1 Index: DOCS/tech/slave.txt =================================================================== RCS file: /cvsroot/mplayer/main/DOCS/tech/slave.txt,v retrieving revision 1.20 diff -u -r1.20 slave.txt --- DOCS/tech/slave.txt 19 Sep 2004 18:36:18 -0000 1.20 +++ DOCS/tech/slave.txt 12 Oct 2004 10:27:21 -0000 @@ -28,6 +28,9 @@ pause Pause/unpause the playback. +frame_step + Play one iteration of the main loop, then pause again. + grab_frames ??? Index: DOCS/man/en/mplayer.1 =================================================================== RCS file: /cvsroot/mplayer/main/DOCS/man/en/mplayer.1,v retrieving revision 1.772 diff -u -r1.772 mplayer.1 --- DOCS/man/en/mplayer.1 11 Oct 2004 19:28:56 -0000 1.772 +++ DOCS/man/en/mplayer.1 12 Oct 2004 10:27:50 -0000 @@ -227,6 +227,10 @@ next/\:previous alternative source (ASX playlist only) .IPs "p / SPACE" Pause movie (any key unpauses). +.IPs "s" +Step forward. Pressing once will pause movie, every +consecutive press will play one iteration of the main loop and +then go into pause mode again (any key unpauses). .IPs "q / ESC" Stop playing and quit. .IPs "+ and -"