1
mirror of https://code.videolan.org/videolan/vlc synced 2024-07-21 07:24:15 +02:00
vlc/modules/services_discovery
Rafaël Carré f452c11004 playlist_CreateNode(): add an argument to specify an input_item_t to be linked with the node, rather than creating a new input.
Setting that argument to NULL will make playlist_CreateNode() behave like previously.

That way we can create only one input per pair of node (for local playlist, media library, and service discovery)
Previous behaviour was to create 2 inputs with the same i_id member, but we would store both input in a binary search tree (sorted by i_id), and that kind of tree MUST NOT have 2 items with the same key, else we will get some bad memory corruption when the wrong input is removed from the tree (the other being left in the tree while the memory referred by it was freed).
Note that this breaks ABI
2007-10-18 15:34:01 +00:00
..
bonjour.c bonjour: checks asprintf() return value, checks name before using it 2007-10-09 06:48:49 +00:00
hal.c services_discovery/hal.c: Get rid of the playlist code. 2007-10-10 23:45:47 +00:00
Modules.am Finish the playlist API transition (hopefully) 2006-11-19 13:20:02 +00:00
podcast.c Switch the few var_GetString remains to var_GetNonEmptyString 2007-09-16 09:15:27 +00:00
sap.c sap: do not release an object we did't yield 2007-10-17 13:09:40 +00:00
shout.c modules/services_discovery/shout.c: Use services_discovery.h instead of playlist.h. 2007-10-11 09:32:09 +00:00
upnp_cc.cpp playlist_CreateNode(): add an argument to specify an input_item_t to be linked with the node, rather than creating a new input. 2007-10-18 15:34:01 +00:00
upnp_intel.cpp playlist_CreateNode(): add an argument to specify an input_item_t to be linked with the node, rather than creating a new input. 2007-10-18 15:34:01 +00:00