annotate dvdread/ifo_print.h @ 21055:bc2cf8eb55b3

Move subtitle updating to a separate function, fix inverted condition which caused timing of DVD subtitles to be ignored so that they were shown as soon as they were demuxed rather than in their timed position.
author uau
date Sun, 19 Nov 2006 17:55:38 +0000
parents 4da452b25fd5
children 1542693b2a30
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7029
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
1 #ifndef IFO_PRINT_H_INCLUDED
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
2 #define IFO_PRINT_H_INCLUDED
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
3
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
4 /*
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
5 * Copyright (C) 2000, 2001 Björn Englund <d4bjorn@dtek.chalmers.se>,
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
6 * Håkan Hjort <d95hjort@dtek.chalmers.se>
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
7 *
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
8 * This program is free software; you can redistribute it and/or modify
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
9 * it under the terms of the GNU General Public License as published by
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
10 * the Free Software Foundation; either version 2 of the License, or
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
11 * (at your option) any later version.
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
12 *
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
13 * This program is distributed in the hope that it will be useful,
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
16 * GNU General Public License for more details.
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
17 *
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
18 * You should have received a copy of the GNU General Public License
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
19 * along with this program; if not, write to the Free Software
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
21 */
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
22
20983
4da452b25fd5 Drop some unnecessary local changes.
diego
parents: 20981
diff changeset
23 #include <dvdread/ifo_types.h>
4da452b25fd5 Drop some unnecessary local changes.
diego
parents: 20981
diff changeset
24 #include <dvdread/dvd_reader.h>
7029
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
25
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
26 #ifdef __cplusplus
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
27 extern "C" {
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
28 #endif
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
29
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
30 /**
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
31 * This file provides example functions for printing information about the IFO
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
32 * file to stdout.
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
33 */
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
34
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
35 /**
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
36 * Print the complete parsing information for the given file.
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
37 */
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
38
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
39 /* ifoPrint(dvd, title); */
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
40 void ifoPrint(dvd_reader_t *, int);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
41
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
42 void ifoPrint_VMGI_MAT(vmgi_mat_t *);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
43 void ifoPrint_VTSI_MAT(vtsi_mat_t *);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
44
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
45 void ifoPrint_PTL_MAIT(ptl_mait_t *);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
46 void ifoPrint_VTS_ATRT(vts_atrt_t *);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
47 void ifoPrint_TT_SRPT(tt_srpt_t *);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
48 void ifoPrint_VTS_PTT_SRPT(vts_ptt_srpt_t *);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
49 void ifoPrint_PGC(pgc_t *);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
50 void ifoPrint_PGCIT(pgcit_t *);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
51 void ifoPrint_PGCI_UT(pgci_ut_t *);
15874
483e955893b8 update libdvdread to v0.9.4
aurel
parents: 14938
diff changeset
52 void ifoPrint_VTS_TMAPT(vts_tmapt_t *);
7029
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
53 void ifoPrint_C_ADT(c_adt_t *);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
54 void ifoPrint_VOBU_ADMAP(vobu_admap_t *);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
55
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
56 #ifdef __cplusplus
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
57 };
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
58 #endif
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
59 #endif /* IFO_PRINT_H_INCLUDED */