annotate dvdread/nav_print.h @ 249:5d643668f1e3 src

I added this code myself a long time ago, but now I am quite convinced that it is wrong: Why would we filter out SPU stream change events that switch SPUs off? This breaks watching the trailer on the RC2 of "Girl, interrupted", because you always get unwanted subtitles. When I added this code, it fixed a problem with the RC2 of "Terminator", but I cannot reproduce this problem any more. Back then, the menu highlights would not show up, but they do now. I assume the problem really got fixed with proper support for forced subtitles in xine, so this crappy workaround here can go away. After all, this way it is more symmetric to audio stream change events, because these are not filtered.
author mroi
date Sun, 12 Sep 2004 15:12:43 +0000
parents 9b1b740e3fc9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
225
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
1 #ifndef NAV_PRINT_H_INCLUDED
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
2 #define NAV_PRINT_H_INCLUDED
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
3
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
4 /*
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
5 * Copyright (C) 2001, 2002 Billy Biggs <vektor@dumbterm.net>,
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
6 * Håkan Hjort <d95hjort@dtek.chalmers.se>
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
7 *
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
8 * This program is free software; you can redistribute it and/or modify
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
9 * it under the terms of the GNU General Public License as published by
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
10 * the Free Software Foundation; either version 2 of the License, or (at
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
11 * your option) any later version.
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
12 *
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
13 * This program is distributed in the hope that it will be useful, but
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
16 * General Public License for more details.
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
17 *
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
18 * You should have received a copy of the GNU General Public License
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
19 * along with this program; if not, write to the Free Software
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
21 */
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
22
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
23 #include "nav_types.h"
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
24
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
25 /**
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
26 * Pretty printing of the NAV packets, PCI and DSI structs.
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
27 */
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
28
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
29 #ifdef __cplusplus
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
30 extern "C" {
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
31 #endif
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
32
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
33 /**
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
34 * Prints information contained in the PCI to stdout.
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
35 *
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
36 * @param pci Pointer to the PCI data structure to be printed.
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
37 */
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
38 void navPrint_PCI(pci_t *);
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
39
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
40 /**
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
41 * Prints information contained in the DSI to stdout.
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
42 *
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
43 * @param dsi Pointer to the DSI data structure to be printed.
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
44 */
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
45 void navPrint_DSI(dsi_t *);
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
46
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
47 #ifdef __cplusplus
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
48 };
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
49 #endif
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
50 #endif /* NAV_PRINT_H_INCLUDED */