annotate dvdread/dvdread_internal.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 DVDREAD_INTERNAL_H
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
2 #define DVDREAD_INTERNAL_H
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
3
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
4 #ifdef _MSC_VER
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
5 #include <unistd.h>
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
6 #endif /* _MSC_VER */
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
7
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
8 #define CHECK_VALUE(arg) \
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
9 if(!(arg)) { \
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
10 fprintf(stderr, "\n*** libdvdread: CHECK_VALUE failed in %s:%i ***" \
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
11 "\n*** for %s ***\n\n", \
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
12 __FILE__, __LINE__, # arg ); \
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
13 }
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
14
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
15 #endif /* DVDREAD_INTERNAL_H */