On Mon, Nov 11, 2002 at 08:24:44PM -0500, 
[EMAIL PROTECTED] wrote:
> > +     ioctl( dfb_fbdev->fd, FBIO_WAITFORVSYNC, &one );
> > +#endif
> >       while ((mga_in32( mdrv->mmio_base, C2VCOUNT ) & 0x00000FFF) != vdisplay)
> >            ;
> > -#endif
> >  }

Whoops! The while loop should only be entered if the ioctl fails. So
things should be:

     if (ioctl( ... ))
#endif
          while ...

I'll send a patch ASAP.

> BTW: did you get the copy of my patch that fixes the OSD flicker in
> MPlayer with all of the crtc2/dfbmga work you have done?  I posted to
> mplayer-eng-dev but it has not been approved yet.  I think I will go
> repost from my mplayer alias. 

Yep I got it. It only works for the sub-picture layer though. I have
a solution which should work with and without sub-picture layer. I'll send
a patch mplayer-dev.

-- 
Ville Syrj�l�
[EMAIL PROTECTED]
http://www.sci.fi/~syrjala/


-- 
Info:  To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-dev" as subject.

Reply via email to