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

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Feb 28 17:39:08 CET 2010


On Sun, Feb 28, 2010 at 10:11:40AM -0500, Jason Tackaberry wrote:
> > (though I think that the atexit is not really needed in any case,
> > the kernel should delete it if nobody uses it anymore - unfortunately
> > I don't know how to verify that).
> 
> I don't know how to verify it either.  I know that ipcs lists the
> leftover segment, but nattach=0, so it's possible that while the entry
> is there it's not actually using up any memory for the buffer.

I think it will use up memory.
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...



More information about the MPlayer-dev-eng mailing list