1 /*****************************************************************************
3 *****************************************************************************
4 * Copyright (C) 2001-2005, 2015 VLC authors and VideoLAN
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU Lesser General Public License as published by
8 * the Free Software Foundation; either version 2.1 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public License
17 * along with this program; if not, write to the Free Software Foundation,
18 * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
19 *****************************************************************************/
23 #define MAX_SDT_DESC 64
32 char *psz_service_name; /* name of program */
36 block_t * WritePSISection( dvbpsi_psi_section_t* p_section );
38 void BuildPAT( dvbpsi_t *p_dvbpsi,
39 void *p_opaque, PEStoTSCallback pf_callback,
40 int i_tsid, int i_pat_version_number,
42 unsigned i_programs, ts_stream_t *p_pmt, const int *pi_programs_number );
46 const pes_stream_t *pes;
47 const ts_stream_t *ts;
48 const es_format_t *fmt;
50 } pes_mapped_stream_t;
52 void BuildPMT( dvbpsi_t *p_dvbpsi, vlc_object_t *p_object,
53 void *p_opaque, PEStoTSCallback pf_callback,
54 int i_tsid, int i_pmt_version_number,
57 unsigned i_programs, ts_stream_t *p_pmt, const int *pi_programs_number,
58 unsigned i_mapped_streams, const pes_mapped_stream_t *p_mapped_streams );