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

Dan Oscarsson Dan.Oscarsson at tietoenator.com
Tue Mar 24 09:39:52 CET 2009


On 2009-03-23 at 20:12 +0200 Uoti Urpala wrote:

> Making the decision to drop the latest frame in flip_page is
> undesirable, whatever logic that decision is based on. Ideally we
> _never_ want to decide "this latest frame will be dropped". Rather we
> want to drop an _earlier_ frame if it still hasn't been shown by the
> time the next frame after it should be displayed. The possibility of
> doing that should be investigated first.

Sometimes the latest and sometimes an earlier is best. I am not sure
this can be decided best in flip_page. better would be at a higher
level.

Vdpau is missing a cancel queued surface, so it is not easy to remove an
already queued surface from the presentation queue - if we wanted to
drop an earlier frame.




More information about the MPlayer-dev-eng mailing list