annotate remap.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 b6834e6359cf
children 90ca650854e0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
114
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 96
diff changeset
1 /*
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 96
diff changeset
2 * This file is part of libdvdnav, a DVD navigation library.
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 96
diff changeset
3 *
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 96
diff changeset
4 * libdvdnav is free software; you can redistribute it and/or modify
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 96
diff changeset
5 * it under the terms of the GNU General Public License as published by
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 96
diff changeset
6 * the Free Software Foundation; either version 2 of the License, or
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 96
diff changeset
7 * (at your option) any later version.
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 96
diff changeset
8 *
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 96
diff changeset
9 * libdvdnav is distributed in the hope that it will be useful,
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 96
diff changeset
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 96
diff changeset
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 96
diff changeset
12 * GNU General Public License for more details.
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 96
diff changeset
13 *
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 96
diff changeset
14 * You should have received a copy of the GNU General Public License
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 96
diff changeset
15 * along with this program; if not, write to the Free Software
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 96
diff changeset
16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 96
diff changeset
17 *
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 96
diff changeset
18 * $Id$
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 96
diff changeset
19 */
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 96
diff changeset
20
96
2fcb4f228308 Adding "Personalizing DVD Viewing" files from <kevin_smathers@hp.com>
jcdutton
parents:
diff changeset
21 #ifndef __REMAP__H
2fcb4f228308 Adding "Personalizing DVD Viewing" files from <kevin_smathers@hp.com>
jcdutton
parents:
diff changeset
22 #define __REMAP__H
2fcb4f228308 Adding "Personalizing DVD Viewing" files from <kevin_smathers@hp.com>
jcdutton
parents:
diff changeset
23 typedef struct block_s block_t;
2fcb4f228308 Adding "Personalizing DVD Viewing" files from <kevin_smathers@hp.com>
jcdutton
parents:
diff changeset
24
2fcb4f228308 Adding "Personalizing DVD Viewing" files from <kevin_smathers@hp.com>
jcdutton
parents:
diff changeset
25 typedef struct remap_s remap_t;
2fcb4f228308 Adding "Personalizing DVD Viewing" files from <kevin_smathers@hp.com>
jcdutton
parents:
diff changeset
26
2fcb4f228308 Adding "Personalizing DVD Viewing" files from <kevin_smathers@hp.com>
jcdutton
parents:
diff changeset
27 remap_t* remap_loadmap( char *title);
2fcb4f228308 Adding "Personalizing DVD Viewing" files from <kevin_smathers@hp.com>
jcdutton
parents:
diff changeset
28
2fcb4f228308 Adding "Personalizing DVD Viewing" files from <kevin_smathers@hp.com>
jcdutton
parents:
diff changeset
29 unsigned long remap_block(
2fcb4f228308 Adding "Personalizing DVD Viewing" files from <kevin_smathers@hp.com>
jcdutton
parents:
diff changeset
30 remap_t *map, int domain, int title, int program,
2fcb4f228308 Adding "Personalizing DVD Viewing" files from <kevin_smathers@hp.com>
jcdutton
parents:
diff changeset
31 unsigned long cblock, unsigned long offset);
2fcb4f228308 Adding "Personalizing DVD Viewing" files from <kevin_smathers@hp.com>
jcdutton
parents:
diff changeset
32
2fcb4f228308 Adding "Personalizing DVD Viewing" files from <kevin_smathers@hp.com>
jcdutton
parents:
diff changeset
33 #endif