input: rename vlc_input_event_times variables
[vlc.git] / src / input / item.h
blob8308c25edf77214af77dc5872debb3106f5d7b17
1 /*****************************************************************************
2 * item.h
3 *****************************************************************************
4 * Copyright (C) 2008 Laurent Aimar
6 * Authors: Laurent Aimar <fenrir _AT_ videolan _DOT_ org>
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.
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.
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 *****************************************************************************/
23 #ifndef LIBVLC_INPUT_ITEM_H
24 #define LIBVLC_INPUT_ITEM_H 1
26 #include "input_interface.h"
27 #include <vlc_atomic.h>
29 void input_item_SetErrorWhenReading( input_item_t *p_i, bool b_error );
30 void input_item_UpdateTracksInfo( input_item_t *item, const es_format_t *fmt );
31 bool input_item_ShouldPreparseSubItems( input_item_t *p_i );
33 typedef struct input_item_owner
35 input_item_t item;
36 vlc_atomic_rc_t rc;
37 } input_item_owner_t;
39 # define item_owner(item) ((struct input_item_owner *)(item))
41 #endif