[MPlayer-dev-eng] Re: [PATCH] VFCTRL_PERIODIC_UPDATE

Uoti Urpala uoti.urpala at pp1.inet.fi
Mon Jan 22 20:25:35 CET 2007


On Sun, 2007-01-21 at 18:17 -0500, Jason Tackaberry wrote:
> So the problem is that the filter doesn't reliably know what the last
> flipped page is, so when it needs to update the image between frames, it
> may not be as simple as the last mpi that was given to the filter's
> put_image().

That's not the only problem. Consider the case where you want to update
the overlay contents (update frame A to A2) after the next frame (B) has
already been written to the vo but not flipped (which is basically
always the case for between-frames updates with current code). If you
now write A2 with the normal filter output mechanism it'll overwrite B
in the vo, so you'll need to restore B after flipping A2, and you
probably also want to update the overlay for B to the new value.

A vo extension to allow editing the currently visible frame, implemented
at least for xv, might be the most practical way.




More information about the MPlayer-dev-eng mailing list