[Mplayer-cvslog] CVS: main cfg-mplayer.h,1.193,1.194 mplayer.c,1.673,1.674

Filip Kalinski filon at pld.org.pl
Sat Feb 8 09:54:36 CET 2003


On Sat, 08 Feb 2003 03:18:49 +0100
Diego Biurrun <diego at biurrun.de> wrote:

> Filip Kalinski CVS wrote:
> > Modified Files:
> > 	cfg-mplayer.h mplayer.c 
> > Log Message:
> > - support command line parameter -fstype, eg. -fstype layer=12,above,fullscreen
> > 
> > Index: cfg-mplayer.h
> > ===================================================================
> > RCS file: /cvsroot/mplayer/main/cfg-mplayer.h,v
> > retrieving revision 1.193
> > retrieving revision 1.194
> > diff -u -r1.193 -r1.194
> > --- cfg-mplayer.h	7 Feb 2003 18:05:38 -0000	1.193
> > +++ cfg-mplayer.h	7 Feb 2003 19:38:37 -0000	1.194
> > @@ -274,6 +275,7 @@
> >  	// start in fullscreen mode:
> >  	{"fs", &fullscreen, CONF_TYPE_FLAG, 0, 0, 1, NULL},
> >  	{"nofs", &fullscreen, CONF_TYPE_FLAG, 0, 1, 0, NULL},
> > +	{"fstype", &vo_fstype_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
> >  	// set fullscreen switch method (workaround for buggy WMs)
> >  	{"fsmode", "option 'fsmode' is obsolete, avoid using it! if you really want it, try -fsmode-dontuse, but don't report bugs with this option used!", CONF_TYPE_PRINT, CONF_RANGE, 0, 31, NULL},
> >  	{"fsmode-dontuse", &vo_fsmode, CONF_TYPE_INT, CONF_RANGE, 0, 31, NULL},
> 
> > Index: mplayer.c
> > ===================================================================
> > RCS file: /cvsroot/mplayer/main/mplayer.c,v
> > retrieving revision 1.673
> > retrieving revision 1.674
> > diff -u -r1.673 -r1.674
> > --- mplayer.c	7 Feb 2003 18:09:29 -0000	1.673
> > +++ mplayer.c	7 Feb 2003 19:38:37 -0000	1.674
> > @@ -835,6 +835,11 @@
> >        printf("\n");
> >        exit(0);
> >      }
> > +    if(vo_fstype_list && strcmp(vo_fstype_list[0],"help")==0){
> > +      fstype_help();
> > +      printf("\n");
> > +      exit(0);
> > +    }
> 
> This broke compilation on Cygwin:
> 

I forgot about putting this into #ifdef HAVE_X11.
I have to drink some cola :-)

-- 
Filip Kalinski <filon at pld.org.pl>


More information about the MPlayer-cvslog mailing list