[vlc-devel] [PATCH 3/6] vout: check pools leaks

Thomas Guillem thomas at gllm.fr
Thu Jan 5 15:05:12 CET 2017



On Thu, Jan 5, 2017, at 14:52, Rémi Denis-Courmont wrote:
> Le jeudi 5 janvier 2017, 14:37:41 Thomas Guillem a écrit :
> > Show an error message and assert if filters, decoders or vout displays leak
> > pictures.
> 
> That does not seem right. Last I checked, the picture pool can be deleted 
> before the pictures it contains.

That's not how I understand it: each pictures cloned from a pool has a
ref count on the pool. A pool can't be destroyed if there are remaining
cloned pictures, see 
picture_pool_ReleasePicture().

> 
> -- 
> Rémi Denis-Courmont
> http://www.remlab.net/
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list