diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-10-12 22:10:56 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-10-12 22:10:56 +0000 |
commit | b6cc03ac9bdc427581479e6ad274662cb1c18e95 (patch) | |
tree | 197b84287c95bed7b985983c50f043fd388832e5 /input | |
parent | 0c153147d613ae69309ea73d9a04c0003edb6de1 (diff) | |
download | mpv-b6cc03ac9bdc427581479e6ad274662cb1c18e95.tar.bz2 mpv-b6cc03ac9bdc427581479e6ad274662cb1c18e95.tar.xz |
allow to step only one frame forward by pressing s.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13627 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'input')
-rw-r--r-- | input/input.c | 1 | ||||
-rw-r--r-- | input/input.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/input/input.c b/input/input.c index d2e4833bca..951d03583e 100644 --- a/input/input.c +++ b/input/input.c @@ -57,6 +57,7 @@ static mp_cmd_t mp_cmds[] = { { 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}} } }, diff --git a/input/input.h b/input/input.h index 1c218aaa2a..4a2a10098d 100644 --- a/input/input.h +++ b/input/input.h @@ -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 |