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

Jason Tackaberry tack at urandom.ca
Sun Feb 28 17:46:37 CET 2010


On Sun, 2010-02-28 at 17:39 +0100, Reimar Döffinger wrote:
> However a different process than the one that created it can delete the
> segment, so at the very least the documentation could suggest that the
> other application should delete it when it is done...
> Not sure about it, but it might even be possible to enable reusing the
> shm over multiple starts of MPlayer like this...

I'm starting to like the idea of the application creating an excessively
large buffer for OSD.  It will still need to check MPlayer's stdout to
know what dimensions the overlay is, but the buffer is fixed and can be
reused across invocations, and it solves the atexit problem.

I think the biggest video MPlayer can play is 2000x2000, so a buffer
that's 2000*2000*4 is 16M.




More information about the MPlayer-dev-eng mailing list