Mercurial > mplayer.hg
changeset 22255:5f1bf0a7ed42
Remove remnants of the nonfunctional "grab_frames" command.
The command has been a no-op for years.
author | uau |
---|---|
date | Mon, 19 Feb 2007 06:20:47 +0000 |
parents | c9aaf1f83588 |
children | 3a30fc845a9c |
files | DOCS/tech/slave.txt input/input.c input/input.h mplayer.c |
diffstat | 4 files changed, 1 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/DOCS/tech/slave.txt Mon Feb 19 01:26:17 2007 +0000 +++ b/DOCS/tech/slave.txt Mon Feb 19 06:20:47 2007 +0000 @@ -136,9 +136,6 @@ get_video_resolution Print out the video resolution of the current file. -grab_frames - Currently unimplemented. - screenshot <value> Take a screenshot. Requires the screenshot filter to be loaded. 0 Take a single screenshot.
--- a/input/input.c Mon Feb 19 01:26:17 2007 +0000 +++ b/input/input.c Mon Feb 19 06:20:47 2007 +0000 @@ -62,7 +62,6 @@ { 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}} } }, { MP_CMD_PLAY_ALT_SRC_STEP, "alt_src_step",1, { { MP_CMD_ARG_INT,{0} }, {-1,{0}} } },
--- a/input/input.h Mon Feb 19 01:26:17 2007 +0000 +++ b/input/input.h Mon Feb 19 06:20:47 2007 +0000 @@ -3,7 +3,7 @@ #define MP_CMD_AUDIO_DELAY 1 #define MP_CMD_QUIT 2 #define MP_CMD_PAUSE 3 -#define MP_CMD_GRAB_FRAMES 4 +// #define MP_CMD_GRAB_FRAMES 4 // was a no-op command for years #define MP_CMD_PLAY_TREE_STEP 5 #define MP_CMD_PLAY_TREE_UP_STEP 6 #define MP_CMD_PLAY_ALT_SRC_STEP 7
--- a/mplayer.c Mon Feb 19 01:26:17 2007 +0000 +++ b/mplayer.c Mon Feb 19 06:20:47 2007 +0000 @@ -4490,7 +4490,6 @@ //float v_frame=0; // Video float time_frame=0; // Timer //float num_frames=0; // number of frames played -int grab_frames=0; int frame_time_remaining=0; // flag int blit_frame=0; @@ -4885,9 +4884,6 @@ case MP_CMD_QUIT : { exit_player_with_rc(MSGTR_Exit_quit, (cmd->nargs > 0)? cmd->args[0].v.i : 0); } - case MP_CMD_GRAB_FRAMES : { - grab_frames=2; - } break; case MP_CMD_PLAY_TREE_STEP : { int n = cmd->args[0].v.i == 0 ? 1 : cmd->args[0].v.i; int force = cmd->args[1].v.i;