[vlc-devel] CVS Commit (zorglub)
cvs at videolan.org
cvs at videolan.org
Mon Jan 5 13:59:44 CET 2004
Update of /var/cvs/videolan/vlc
Modified Files:
Makefile.am
Update of /var/cvs/videolan/vlc/src/playlist
Modified Files:
group.c item.c loadsave.c playlist.c sort.c
Added Files:
info.c item-ext.c
Update of /var/cvs/videolan/vlc/include
Modified Files:
vlc_common.h vlc_playlist.h
Update of /var/cvs/videolan/vlc/src
Modified Files:
libvlc.c
Update of /var/cvs/videolan/vlc/src/input
Modified Files:
input.c
Log Message:
* Makefile.am : Added src/playlist/item-ext.c and src/playlist/info.c
* src/playlist/item.c
src/playlist/info.c
src/playlist/item-ext.c
src/playlist/group.c
src/playlist/sort.c
src/playlist/loadsave.c
include/vlc_playlist.h
- New playlist_info structures and accessors
It works pretty like the old input_info (with categories)
It provides modularity to the playlist
- Removed ppsz_options and i_options from playlist_item
(we use the special category Options)
- Added a unique id to each playlist_item to be able to track the
items accross playlist reorders
- Simplified adding of items.
- playlist_AddExt is removed
- playlist_AddItem is still here and exported but should not be used
- use playlist_Add( p_playlist, uri, name, duration, mode, pos )
and use the accessors for all other things
- Added setters for fields of the playlist_item structure
- Introduced "item-change" and "playlist-current" playlist variables
to give more flexibility than only intf-change
At the moment, duration is still in the structure (easier to use, IMHO)
* src/input/input.c
src/libvlc.c :
playlist item options parsing changed
* include/vlc_common.h : added playlist_info structures
--
zorglub
--
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>
More information about the vlc-devel
mailing list