fix #1410.
authorRafaël Carré <funman@videolan.org>
Sun, 30 Dec 2007 18:24:10 +0000 (18:24 +0000)
committerRafaël Carré <funman@videolan.org>
Sun, 30 Dec 2007 18:24:10 +0000 (18:24 +0000)
commit7b9e1799ee5a6330222f62801abb29f15750611c
tree6e1d5d8e56e47b9285391bd14ed34bc1a08293df
parent981f85eb6b7b6df8d0fec914ee4563488e2fba23
fix #1410.
You can not change a playlist_item_t to be a node, when you previously registered events on it, using input_item_t sub items adding event, because the pointer will be destroyed.
If you want to use nodes anyway, you have to explicitely create them.
Note: we were lucky that xspf did work so far, because we were EXCLUSIVELY using invalid pointers, except for the 1st item being added to each playlist_item_t (it did happen before the conversion obviously).
18 files changed:
include/vlc_events.h
include/vlc_input.h
modules/demux/playlist/asx.c
modules/demux/playlist/b4s.c
modules/demux/playlist/dvb.c
modules/demux/playlist/gvp.c
modules/demux/playlist/ifo.c
modules/demux/playlist/itml.c
modules/demux/playlist/m3u.c
modules/demux/playlist/pls.c
modules/demux/playlist/podcast.c
modules/demux/playlist/qtl.c
modules/demux/playlist/sgimb.c
modules/demux/playlist/shoutcast.c
modules/demux/playlist/xspf.c
modules/misc/lua/vlc.c
src/playlist/item.c
src/playlist/loadsave.c