[Mplayer-cvslog] CVS: main/libvo mga_common.c,1.46,1.47 vo_gl.c,1.30,1.31 vo_xmga.c,1.79,1.80 vo_xvidix.c,1.51,1.52

D Richard Felker III dalias at aerifal.cx
Thu Oct 17 18:04:34 CEST 2002


On Thu, Oct 17, 2002 at 12:12:54PM +0200, Attila Kinali wrote:
> On Thu, 17 Oct 2002 11:49:44 +0200
> Zoltan Ponekker <pontscho at mplayerhq.hu> wrote:
> 
> > diff -u -r1.46 -r1.47
> > --- mga_common.c	10 Oct 2002 00:10:58 -0000	1.46
> > +++ mga_common.c	17 Oct 2002 09:49:25 -0000	1.47
> > @@ -380,7 +380,9 @@
> >  	//clear the buffer
> >  	memset(frames[0],0x80,mga_vid_config.frame_size*mga_vid_config.num_frames);
> >  
> > +#ifndef VO_XMGA
> >  	ioctl(f,MGA_VID_ON,0);
> > +#endif
> >
> 
> What is the sense behind this ?
> I mean this code is called for -vo mga if xmga is not compiled
> (which looks a bit fishy to me)

mga_common.c is #included in both vo_mga.c and vo_xmga.c, with
different #defines. RTFS. :)

Rich





More information about the MPlayer-cvslog mailing list