VLC 4.0.0-dev
Loading...
Searching...
No Matches
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
28
35
36/* _New() is private, it is called when inserting new media in the playlist */
38vlc_playlist_item_New(input_item_t *media, uint64_t id);
39
40#endif
vlc_playlist_item_t * vlc_playlist_item_New(input_item_t *media, uint64_t id)
Definition item.c:31
Describes an input and is used to spawn input_thread_t objects.
Definition vlc_input_item.h:98
Definition vlc_atomic.h:48
Definition item.h:30
input_item_t * media
Definition item.h:31
vlc_atomic_rc_t rc
Definition item.h:33
uint64_t id
Definition item.h:32
Atomic operations do not require locking, but they are not very powerful.