]> git.sesse.net Git - vlc/commit
Qt4: store input_item_t* in plitem and handle metadata in model
authorIlkka Ollakka <ileoo@videolan.org>
Thu, 13 Aug 2009 12:42:23 +0000 (15:42 +0300)
committerIlkka Ollakka <ileoo@videolan.org>
Thu, 13 Aug 2009 12:45:13 +0000 (15:45 +0300)
commitb3b361b083b2ed50df10b7269d6b72787f8bb305
tree807db4459547e9c8047187009e4ab6d773c5c250
parent0c8124fdea3551013088b8449cda151854d892fa
Qt4: store input_item_t* in plitem and handle metadata in model

No need to store/recreate metadata on plitem anymore, as we can get
it now on the fly, also separate headerData and Data. Hopefully
that vlc_gc_incref/vlc_gc_decref is sufficient for that input_item_t
pointer protection.

Feel free to fix/revert/comment if that pointer shouldn't really be
there, or if it's not safe it to be there thisway.
modules/gui/qt4/components/playlist/playlist_item.cpp
modules/gui/qt4/components/playlist/playlist_item.hpp
modules/gui/qt4/components/playlist/playlist_model.cpp