Index: cfg-mplayer.h =================================================================== RCS file: /cvsroot/mplayer/main/cfg-mplayer.h,v retrieving revision 1.197 diff -u -r1.197 cfg-mplayer.h --- cfg-mplayer.h 8 Feb 2003 20:52:25 -0000 1.197 +++ cfg-mplayer.h 24 Mar 2003 15:50:07 -0000 @@ -69,6 +69,7 @@ extern int opt_screen_size_y; extern int fullscreen; extern int vidmode; +extern int skip; #ifdef USE_OSD extern int osd_level; @@ -262,6 +263,8 @@ // video mode switching: (x11,xv,dga) {"vm", &vidmode, CONF_TYPE_FLAG, 0, 0, 1, NULL}, {"novm", &vidmode, CONF_TYPE_FLAG, 0, 1, 0, NULL}, + {"skip", &skip, CONF_TYPE_FLAG, 0, 0, 1, NULL}, + {"noskip", &skip, CONF_TYPE_FLAG, 0, 1, 0, NULL}, // start in fullscreen mode: {"fs", &fullscreen, CONF_TYPE_FLAG, 0, 0, 1, NULL}, {"nofs", &fullscreen, CONF_TYPE_FLAG, 0, 1, 0, NULL}, Index: mplayer.c =================================================================== RCS file: /cvsroot/mplayer/main/mplayer.c,v retrieving revision 1.686 diff -u -r1.686 mplayer.c --- mplayer.c 16 Mar 2003 20:13:06 -0000 1.686 +++ mplayer.c 24 Mar 2003 15:50:09 -0000 @@ -168,6 +168,7 @@ vo_functions_t *video_out=NULL; ao_functions_t *audio_out=NULL; +int skip=0; int fixed_vo=0; // benchmark: @@ -1887,7 +1888,9 @@ // decode: current_module="decode_video"; // printf("Decode! %p %d \n",start,in_size); - blit_frame=decode_video(sh_video,start,in_size,drop_frame); + + blit_frame=decode_video(sh_video,start,in_size,drop_frame) || ! skip; + break; } vdecode_time=video_time_usage-vdecode_time;