[MPlayer-cvslog] r22273 - in trunk: DOCS/tech/slave.txt input/input.c input/input.h mplayer.c

uau subversion at mplayerhq.hu
Mon Feb 19 07:20:48 CET 2007


Author: uau
Date: Mon Feb 19 07:20:47 2007
New Revision: 22273

Modified:
   trunk/DOCS/tech/slave.txt
   trunk/input/input.c
   trunk/input/input.h
   trunk/mplayer.c

Log:
Remove remnants of the nonfunctional "grab_frames" command.
The command has been a no-op for years.


Modified: trunk/DOCS/tech/slave.txt
==============================================================================
--- trunk/DOCS/tech/slave.txt	(original)
+++ trunk/DOCS/tech/slave.txt	Mon Feb 19 07:20:47 2007
@@ -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.

Modified: trunk/input/input.c
==============================================================================
--- trunk/input/input.c	(original)
+++ trunk/input/input.c	Mon Feb 19 07:20:47 2007
@@ -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}} } },

Modified: trunk/input/input.h
==============================================================================
--- trunk/input/input.h	(original)
+++ trunk/input/input.h	Mon Feb 19 07:20:47 2007
@@ -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

Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	(original)
+++ trunk/mplayer.c	Mon Feb 19 07:20:47 2007
@@ -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;



More information about the MPlayer-cvslog mailing list