Remove remnants of the nonfunctional "grab_frames" command.

The command has been a no-op for years.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22273 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
uau 2007-02-19 06:20:47 +00:00
parent a526b66d15
commit 7ac889b796
4 changed files with 1 additions and 9 deletions

View File

@ -136,9 +136,6 @@ get_video_codec
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.

View File

@ -62,7 +62,6 @@ static mp_cmd_t mp_cmds[] = {
{ 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}} } },

View File

@ -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

View File

@ -4490,7 +4490,6 @@ fflush(stdout);
//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 @@ if(step_sec>0) {
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;