Re: [Mplayerplug-in-devel] Test Patch only for use with PATCHED mplayer
Brought to you by:
kdekorte
From: Fabian F. <Fab...@gm...> - 2003-01-29 19:24:25
|
Am Mittwoch, 29. Januar 2003 17:00 schrieb Kevin DeKorte: > Ok, if you are using Fabian's patches to mplayer... You can try out thi= s > patch. Since Fabian's patches have not yet been accepted into mplayer I= 'm > not going to commit this to CVS yet. > > Changes: > > To conf file > removed "player" option due to Sylvain's concern that it allows people = to > do dumb things > added "use-gmplayer" option, values 0 or 1 ok > > If gmplayer is being used, then instead of -x and -y options being pass= ed > -screenw and -screenh get passed in... Although I'm not sure they are > working yet... My video never gets bigger. It's not the purpose of screenw and screenh ... (There are for defining t= he=20 window-space, so going to fullscreen does work ...; problem is when using= =20 x,y, I cannot yet find the right place where to find the gui, but will lo= ok=20 into it) > > Also, does someone have a link to a minimal skin to use with mplayer...= I > think the work Fabian is doing is great and I hope we get it nailed dow= n > and included into mplayer. :-) > > > > Index: mplayerplug-in.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/Source/mplayerplug-in.= c,v > retrieving revision 1.24 > diff -r1.24 mplayerplug-in.c Please use cvs diff -u, else I don't know how to apply it easily!!! (patc= h=20 works afaik only with unified patches) And doing this per hand is not much fun :-( cu Fabian > 72a73 > > > int use_gmplayer; > > 207d207 > < //sscanf(buffer,"%9s =3D > %i",parse,This->cachesize > ); > 229a230,241 > > > if ( strncasecmp(buffer,"use-gmplayer",12) =3D=3D= 0) { > > sprintf(parse,"%s",strtok(buffer,"=3D")= ); > > sprintf(parse,"%s",strtok(NULL,"=3D")); > > sscanf(parse,"%i",&This->use_gmplayer); > > if (This->use_gmplayer !=3D 0) { > > This->use_gmplayer=3D1; > > if (This->player) > > free(This->player); This->player=3Dstrdup("gmplayer"); } > > > > } > > /* > > 236c248 > < > --- > > > */ > > 740a753 > > > if (DEBUG) dup2(stdout,This->logfp); > > 756,759c769,780 > < argv[i++] =3D "-x"; > < argv[i++] =3D xval; > < argv[i++] =3D "-y"; > < argv[i++] =3D yval; > --- > > > if (This->use_gmplayer)= { > > argv[i++] =3D > > "-screenw" argv[i++] =3D xval; argv[i++] =3D "-screenh" argv[i++] =3D= yval; } > > else { > > argv[i++] =3D "= -x"; > > argv[i++] =3D x= val; > > argv[i++] =3D "= -y"; > > argv[i++] =3D y= val; > > } > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld Something 2 See! > http://www.vasoftware.com > _______________________________________________ > Mplayerplug-in-devel mailing list > Mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mplayerplug-in-devel |