demux: ogg: only invalid pts on no granule interpolation
[vlc.git] / modules / spu / mosaic.h
blob9ddcf882a0dadc87d6d72488e08f0eda5856ab1d
1 /*****************************************************************************
2 * mosaic.h:
3 *****************************************************************************
4 * Copyright (C) 2004-2008 VLC authors and VideoLAN
6 * Authors: Antoine Cellerier <dionoea@videolan.org>
7 * Christophe Massiot <massiot@via.ecp.fr>
9 * This program is free software; you can redistribute it and/or modify it
10 * under the terms of the GNU Lesser General Public License as published by
11 * the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details.
19 * You should have received a copy of the GNU Lesser General Public License
20 * along with this program; if not, write to the Free Software Foundation,
21 * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
22 *****************************************************************************/
24 typedef struct bridged_es_t
26 es_format_t fmt;
27 picture_t *p_picture;
28 picture_t **pp_last;
29 bool b_empty;
30 char *psz_id;
32 int i_alpha;
33 int i_x;
34 int i_y;
35 } bridged_es_t;
37 typedef struct bridge_t
39 bridged_es_t **pp_es;
40 int i_es_num;
41 } bridge_t;
43 static bridge_t *GetBridge( vlc_object_t *p_object )
45 return var_GetAddress(VLC_OBJECT(p_object->obj.libvlc), "mosaic-struct");
47 #define GetBridge(a) GetBridge( VLC_OBJECT(a) )