[MPlayer-dev-eng] [PATCH] VF Overlay

Jason Tackaberry tack at urandom.ca
Sun Feb 28 18:34:28 CET 2010


On Sun, 2010-02-28 at 18:16 +0100, Reimar Döffinger wrote:
> That depends (mostly) on the graphics hardware.
> xv and gl are generally limited to around 2048x2048, I have tested gl2
> to work fine with 3840x2160 - in theory it should be "unlimited".

We could force the application to run -identify on the files in the
playlist beforehand, and setup a shm buffer large enough to accommodate
the largest overlay.

Your alternative suggestion (MPlayer creates the buffer but the
application destroys it) is a bit cumbersome, because what if a
subsequent file requires a new buffer?  In that case, MPlayer will
destroy the old one and create a new one.  So then the design would be
that MPlayer creates and destroys all buffers except for the last one,
which is the app's responsibility.  That's very sloppy, IMO.




More information about the MPlayer-dev-eng mailing list