[vlc-devel] [RFC] Moving services discovery out of the playlist

Romain Vimont rom1v at videolabs.io
Sun Jun 10 17:45:34 CEST 2018


On Sun, Jun 10, 2018 at 06:08:12PM +0300, Rémi Denis-Courmont wrote:
> Le sunnuntaina 10. kesäkuuta 2018, 17.14.43 EEST Romain Vimont a écrit :
> > AFAIU, this is what happens at the playlist level currently (as a
> > consequence, in the UI, items provided by the SD and by preparsing
> > appear in a single tree).
> 
> No. The SD subtrees are currently expressly marked read-only in the playlist 
> mapping. The SD adds and removes items via SD callbacks or input item node 
> callbacks.

IIUC, this is what happens here.

The SD adds and removes items via SD callbacks:

<https://github.com/rom1v/vlc/blob/sd/src/media_browser/media_browser.c#L61>

or input item node callbacks:

<https://github.com/rom1v/vlc/blob/sd/src/media_tree/media_tree.c#L131>

> Nobody else is supposed to touch the SD subtrees.

Nothing else modifies the media tree associated to a SD.


More information about the vlc-devel mailing list