[MPlayer-dev-eng] [PATCH] reduce flashing on resize with VDPAU

Reimar Döffinger Reimar.Doeffinger at gmx.de
Thu Mar 19 09:46:51 CET 2009


On Thu, Mar 19, 2009 at 08:35:07AM +0100, Dan Oscarsson wrote:
> Using 4 output surfaces I get, after a while, frames being display
> nearly 2 vsyncs late (in my case running at 23,976hz, 70-80 ms).
> Using 3 surfaces it works like my patch (which is expected as it is more
> or less done in the same way), giving a delay up to about 40 ms.

4 surfaces are necessary for deinterlacing. Another reason to allow
adjusting the number of surfaces.

> Well, I prefer to not have any frame dropping and audio in sync.
> Currently, if I have no frame dropping, I can easily get audio out of
> sync by 100-200 ms or even more which makes the movie unwatchable.
> The way mplayer syncs video to audio does not work well when fps is same
> as vsyncs per second.

Well, you could try -speed 0.99 it might be that it does not work well
because MPlayer either plays faster than  24 fps or your display is
slower than that.



More information about the MPlayer-dev-eng mailing list