1 /*****************************************************************************
3 *****************************************************************************
4 * Copyright (C) 2001, 2002 VideoLAN
5 * $Id: pes.h,v 1.1 2002/12/14 21:32:41 fenrir Exp $
7 * Authors: Laurent Aimar <fenrir@via.ecp.fr>
8 * Eric Petit <titer@videolan.org>
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 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 General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
23 *****************************************************************************/
26 #define PES_PROGRAM_STREAM_MAP 0xbc
27 #define PES_PADDING 0xbe
28 #define PES_PRIVATE_STREAM_2 0xbf
31 #define PES_PROGRAM_STREAM_DIRECTORY 0xff
32 #define PES_DSMCC_STREAM 0xf2
33 #define PES_ITU_T_H222_1_TYPE_E_STREAM 0xf8
36 int EStoPES( sout_instance_t *p_sout,
37 sout_buffer_t **pp_pes, sout_buffer_t *p_es,
38 int i_stream_id, int b_mpeg2 );