VLC 4.0.0-dev
Loading...
Searching...
No Matches
vlm_internal.h
Go to the documentation of this file.
1/*****************************************************************************
2 * vlm_internal.h: Internal vlm structures
3 *****************************************************************************
4 * Copyright (C) 1998-2006 VLC authors and VideoLAN
5 *
6 * Authors: Laurent Aimar <fenrir@via.ecp.fr>
7 *
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU Lesser General Public License as published by
10 * the Free Software Foundation; either version 2.1 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU Lesser General Public License for more details.
17 *
18 * You should have received a copy of the GNU Lesser General Public License
19 * along with this program; if not, write to the Free Software Foundation,
20 * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
21 *****************************************************************************/
22
23#ifndef LIBVLC_VLM_INTERNAL_H
24#define LIBVLC_VLM_INTERNAL_H 1
25
26#include <vlc_vlm.h>
27#include <vlc_player.h>
28
29/* Private */
30typedef struct
31{
32 /* instance name */
33 char *psz_name;
34
35 /* "playlist" index */
37
43
44
45typedef struct
46{
49
50 /* actual input instances */
54
55struct vlm_t
56{
58
63 unsigned users;
64
65 /* tell vlm thread there is work to do */
67 bool exiting;
68 /* */
69 int64_t i_id;
70
71 /* Media list */
74};
75
76int vlm_ControlInternal( vlm_t *p_vlm, int i_query, ... );
77int ExecuteCommand( vlm_t *, const char *, vlm_message_t ** );
78
79#endif
Describes an input and is used to spawn input_thread_t objects.
Definition vlc_input_item.h:98
Condition variable.
Definition vlc_threads.h:270
Mutex.
Definition vlc_threads.h:143
VLC object common members.
Definition vlc_objects.h:53
Definition player.h:134
Definition player.h:239
Thread handle.
Definition vlc_threads.h:108
Definition vlm_internal.h:31
vlc_player_listener_id * listener
Definition vlm_internal.h:40
char * psz_name
Definition vlm_internal.h:33
vlc_player_t * player
Definition vlm_internal.h:39
int i_index
Definition vlm_internal.h:36
input_item_t * p_item
Definition vlm_internal.h:38
bool finished
Definition vlm_internal.h:41
Definition vlm_internal.h:46
vlm_media_t cfg
Definition vlm_internal.h:48
int i_instance
Definition vlm_internal.h:51
vlm_media_instance_sys_t ** instance
Definition vlm_internal.h:52
vlm_t * vlm
Definition vlm_internal.h:47
VLM media.
Definition vlc_vlm.h:46
Definition vlc_vlm.h:167
Definition vlm_internal.h:56
vlc_mutex_t lock
Definition vlm_internal.h:59
bool input_state_changed
Definition vlm_internal.h:66
bool exiting
Definition vlm_internal.h:67
int i_media
Definition vlm_internal.h:72
struct vlc_object_t obj
Definition vlm_internal.h:57
vlm_media_sys_t ** media
Definition vlm_internal.h:73
vlc_mutex_t lock_manage
Definition vlm_internal.h:61
vlc_cond_t wait_manage
Definition vlm_internal.h:62
unsigned users
Definition vlm_internal.h:63
vlc_thread_t thread
Definition vlm_internal.h:60
int64_t i_id
Definition vlm_internal.h:69
VLC Player API.
VLC stream manager interface.
int ExecuteCommand(vlm_t *, const char *, vlm_message_t **)
int vlm_ControlInternal(vlm_t *p_vlm, int i_query,...)
Definition vlm.c:854