[MPlayer-dev-eng] [PATCH] reduce flashing on resize with VDPAU
Uoti Urpala
uoti.urpala at pp1.inet.fi
Mon Mar 23 19:12:39 CET 2009
On Mon, 2009-03-23 at 18:06 +0100, Reimar Döffinger wrote:
> On Mon, Mar 23, 2009 at 08:45:28AM -0700, Stephen Warren wrote:
> > The best way to handle this would be to use the VDPAU presentation queue's
> > timestamp mechanism; choose a timestamp for each frame to be presented,
> > give this to the presentation queue, then use the "displayed at" time
> > returned by the presentation queue status commands to determine whether
> > presentation is drifting to become late or not.
>
> As I understood your last comment on this, this feature does still not
> allow play videos with higher fps than the vsync rate, thus frames still
> need to be dropped "manually" and to decided whether to do this or not
> we still better estimate if a vsync will happen "soon" or not.
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.
More information about the MPlayer-dev-eng
mailing list