demux: ts: only seek on pcr for current program
[vlc.git] / modules / spu / mosaic.h
blobcc7533b3538bffcfc524fc1171586fd6d6a8bbe7
1 /*****************************************************************************
2 * mosaic.h:
3 *****************************************************************************
4 * Copyright (C) 2004-2008 VLC authors and VideoLAN
5 * $Id$
7 * Authors: Antoine Cellerier <dionoea@videolan.org>
8 * Christophe Massiot <massiot@via.ecp.fr>
10 * This program is free software; you can redistribute it and/or modify it
11 * under the terms of the GNU Lesser General Public License as published by
12 * the Free Software Foundation; either version 2.1 of the License, or
13 * (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License for more details.
20 * You should have received a copy of the GNU Lesser General Public License
21 * along with this program; if not, write to the Free Software Foundation,
22 * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
23 *****************************************************************************/
25 typedef struct bridged_es_t
27 es_format_t fmt;
28 picture_t *p_picture;
29 picture_t **pp_last;
30 bool b_empty;
31 char *psz_id;
33 int i_alpha;
34 int i_x;
35 int i_y;
36 } bridged_es_t;
38 typedef struct bridge_t
40 bridged_es_t **pp_es;
41 int i_es_num;
42 } bridge_t;
44 static bridge_t *GetBridge( vlc_object_t *p_object )
46 return var_GetAddress(VLC_OBJECT(p_object->obj.libvlc), "mosaic-struct");
48 #define GetBridge(a) GetBridge( VLC_OBJECT(a) )