[vlc-devel] [Patch 1/1] Fixed the directory duplication bug in UPnP SD Client and cleaned code.

Rémi Denis-Courmont remi at remlab.net
Wed Jun 9 09:37:45 CEST 2010

On Wed, 9 Jun 2010 03:59:06 +0200, Jakob Leben <jakob.leben at gmail.com>
> If I get it right, you are rebuilding the whole item tree from top,
> Since created input items seem to be stored in the plugin (
> p_container->setInputItem( p_input_item ) ), it seems to me that it
> for a better approach which would compare new and old items and only
> add/remove changes, even if the upnp server posts the whole list every
> time.

Yes, this requires a lot more code in the SD plugin, but I doubt there is
any other way. The udev and xcb_apps discovery plugins already follow that
operational mode.

Rémi Denis-Courmont

More information about the vlc-devel mailing list