[vlc-devel] [PATCH] Media library core

Rémi Denis-Courmont rem at videolan.org
Mon Dec 28 12:08:43 CET 2009


Le lundi 28 décembre 2009, Srikanth Raju a écrit :
> There is a media "pool" that contains all the media objects that are
> currently in existence. This is to ensure only one media object
> exists for a given id. This also acts as a cache for these medias.
> There is a garbage collecting loop that runs on this pool. When the
> ref count of an object becomes 1, it waits n seconds before calling
> the destructor of this object.

You _cannot_ use the VLC GC for that.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list