VLC 4.0.0-dev
|
Functions | |
vlc_playlist_item_t * | vlc_playlist_item_New (input_item_t *media, uint64_t id) |
void | vlc_playlist_item_Hold (vlc_playlist_item_t *item) |
Hold a playlist item. | |
void | vlc_playlist_item_Release (vlc_playlist_item_t *item) |
Release a playlist item. | |
input_item_t * | vlc_playlist_item_GetMedia (vlc_playlist_item_t *item) |
Return the media associated to the playlist item. | |
uint64_t | vlc_playlist_item_GetId (vlc_playlist_item_t *item) |
Return a unique id for the playlist item instance. | |
vlc_playlist_item_t * vlc_playlist_item_New | ( | input_item_t * | media, |
uint64_t | id | ||
) |
References vlc_playlist_item::id, input_item_Hold(), vlc_playlist_item::media, vlc_playlist_item::rc, unlikely, and vlc_atomic_rc_init().
Referenced by vlc_playlist_MediaToItems(), and vlc_playlist_Replace().