VLC
4.0.0-dev
src
playlist
item.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* playlist/item.h
3
*****************************************************************************
4
* Copyright (C) 2018 VLC authors and VideoLAN
5
*
6
* This program is free software; you can redistribute it and/or modify it
7
* under the terms of the GNU Lesser General Public License as published by
8
* the Free Software Foundation; either version 2.1 of the License, or
9
* (at your option) any later version.
10
*
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU Lesser General Public License for more details.
15
*
16
* You should have received a copy of the GNU Lesser General Public License
17
* along with this program; if not, write to the Free Software Foundation,
18
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
19
*****************************************************************************/
20
21
#ifndef VLC_PLAYLIST_ITEM_H
22
#define VLC_PLAYLIST_ITEM_H
23
24
#include <
vlc_atomic.h
>
25
26
typedef
struct
vlc_playlist_item
vlc_playlist_item_t
;
27
typedef
struct
input_item_t
input_item_t
;
28
29
struct
vlc_playlist_item
30
{
31
input_item_t
*
media
;
32
uint64_t
id
;
33
vlc_atomic_rc_t
rc
;
34
};
35
36
/* _New() is private, it is called when inserting new media in the playlist */
37
vlc_playlist_item_t
*
38
vlc_playlist_item_New
(
input_item_t
*media, uint64_t
id
);
39
40
#endif
input_item_t
Describes an input and is used to spawn input_thread_t objects.
Definition:
vlc_input_item.h:77
vlc_playlist_item::media
input_item_t * media
Definition:
item.h:31
vlc_playlist_item::rc
vlc_atomic_rc_t rc
Definition:
item.h:33
vlc_playlist_item
Definition:
item.h:29
vlc_atomic.h
vlc_playlist_item_New
vlc_playlist_item_t * vlc_playlist_item_New(input_item_t *media, uint64_t id)
Definition:
item.c:31
vlc_playlist_item::id
uint64_t id
Definition:
item.h:32
vlc_atomic_rc_t
Definition:
vlc_atomic.h:41
Generated by
1.8.17