[demux/avi] Enable dirac support (Set PTS on first output block)
[vlc/davidf-public.git] / include / vlc_main.h
blob119b177bc1d960cbc48478079c615541b95ff8e7
1 /*****************************************************************************
2 * main.h: access to all program variables
3 * Declaration and extern access to LibVLC instance object.
4 *****************************************************************************
5 * Copyright (C) 1999, 2000, 2001, 2002, 2008 the VideoLAN team
7 * Authors: Vincent Seguin <seguin@via.ecp.fr>
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
22 *****************************************************************************/
24 /**
25 * \file
26 * This file defines libvlc_int_t internal libvlc instance
29 TYPEDEF_ARRAY(input_item_t*, input_item_array_t);
31 /*****************************************************************************
32 * libvlc_internal_instance_t
33 *****************************************************************************
34 * This structure is a LibVLC instance, for use by libvlc core and plugins
35 *****************************************************************************/
36 struct libvlc_int_t
38 VLC_COMMON_MEMBERS
40 /* FIXME: this is only used by the logger module! */
41 global_stats_t *p_stats; ///< Global statistics
43 /* Structure storing the action name / key associations */
44 struct hotkey
46 const char *psz_action;
47 int i_action;
48 int i_key;
49 } *p_hotkeys;