[vlc-devel] [PATCH] Add libvlc_media_list_player_retain() to libvlc.

Rémi Denis-Courmont remi at remlab.net
Tue May 31 13:17:29 CEST 2011


On Tue, 31 May 2011 17:20:34 +0700, Alexey Sokolov
<alexey at alexeysokolov.co.cc> wrote:
> And there's no (obvious) way without retain() to reuse reference to 
> libvlc_media_list_player_t after it being stolen by the object.

You can just specify that the object takes ownership.

I mean, as far as I can tell, there is not much sense in multiple
"objects" using the same media list player. If this is true, then there is
not much sense in having reference counting for it.

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



More information about the vlc-devel mailing list