[vlc-devel] [PATCH 1/4] playlist: add refcount

Rémi Denis-Courmont remi at remlab.net
Mon Aug 24 21:47:31 CEST 2020


Le torstaina 20. elokuuta 2020, 18.44.20 EEST Romain Vimont a écrit :
> For now, there is only one playlist, with a well-defined lifetime (owned
> by the libvlc instance).
> 
> To support several playlists which could be added and removed,

There are no use cases for doing that.

> add a refcount so that the ownership can be shared.

We used to have a reference count on the playlist. We DECIDED to remove it. It 
turned to be completely useless and misunderstood. The only result was 
unnecessary complexity and more bugs.

-1

-- 
Реми Дёни-Курмон
http://www.remlab.net/





More information about the vlc-devel mailing list