[vlc-devel] commit: vlc core: single storage playlist (Jakob Leben )

git version control git at videolan.org
Tue Feb 2 06:56:59 CET 2010


vlc | branch: master | Jakob Leben <jleben at videolan.org> | Tue Feb  2 03:56:10 2010 +0100| [defbc4a490e65cfa1d587dceef1b7cb5c230e8e0] | committer: Jakob Leben 

vlc core: single storage playlist

- Playlist items are stored only once. No category / onelevel separation
- Services Discovery nodes always stay a tree
- The playlist and Media Library are tree or flat depending on variable "playlist-tree".
  It means that if the setting variable says flat, the items that come from playlist
  demuxers are flattened into a single level list.
- The design demanded a different playlist demuxing system. Now playlist demuxers should
  construct a tree of items under an input_item_node_t root and send that using
  input_item_AddSubItemTree. Currently, the old scheme will be retained in modules, because
  there is still some listening to the old event in code (the libvlc media system for example)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=defbc4a490e65cfa1d587dceef1b7cb5c230e8e0
---

 include/vlc_common.h              |    1 +
 include/vlc_events.h              |    5 +
 include/vlc_input_item.h          |   21 ++
 include/vlc_playlist.h            |    7 +-
 src/input/item.c                  |   75 +++++++
 src/libvlccore.sym                |    7 +-
 src/playlist/engine.c             |   54 ++---
 src/playlist/item.c               |  438 +++++++++++++++---------------------
 src/playlist/loadsave.c           |   38 ++--
 src/playlist/playlist_internal.h  |    6 +-
 src/playlist/services_discovery.c |   39 ++--
 src/playlist/tree.c               |   65 +------
 12 files changed, 357 insertions(+), 399 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=defbc4a490e65cfa1d587dceef1b7cb5c230e8e0



More information about the vlc-devel mailing list