[MPlayer-dev-eng] [PATCH] Fix dfbmga with DirectFB < 0.9.16

Ville Syrjälä syrjala at sci.fi
Thu May 1 21:55:08 CEST 2003


On Thu, May 01, 2003 at 09:47:20PM +0200, Alex Beregszaszi wrote:
> Hi,
> 
> > @@ -998,7 +1002,7 @@
> >       }
> >  
> >       blit_done = 0;
> > -     current_buf = 0;//vo_directrendering ? 0 : (current_buf + 1) %
> > num_bufs;+     current_buf = vo_directrendering ? 0 : (current_buf +
> > 1) % num_bufs; }
> 
> Was this a bug before? I'm asking, that should I commit this too?

It's not really a bug. I was just experimenting with some stuff and
accidentally left it in the patch. Now that I think of it it might be
better to set it to 0 in all cases. So you can just remove the commented
out part altogether.

And I think you can leave in your fix for the WaitForSync() stuff if you
want. Nobody really should use this stuff with such old DirectFB releases
anyway ;)

-- 
Ville Syrjälä
syrjala at sci.fi
http://www.sci.fi/~syrjala/



More information about the MPlayer-dev-eng mailing list