summaryrefslogtreecommitdiffstats
path: root/contrib/libdvdnav
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2009-06-02 21:05:12 +0000
committerjstebbins <[email protected]>2009-06-02 21:05:12 +0000
commitfba555be55cf71b910587043e0aea02abb14509f (patch)
treeffa809d0c2f4ca58f40264cf7ff8c13fd9ef215c /contrib/libdvdnav
parentf3c1572478eaadf98772a23a95879b64af7cfea2 (diff)
libdvdnav: add patch that moves reading title label below validity checks
this eliminates the garbage title information libdvdnav spewed to stderr git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2473 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'contrib/libdvdnav')
-rw-r--r--contrib/libdvdnav/A03-quiet.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/contrib/libdvdnav/A03-quiet.patch b/contrib/libdvdnav/A03-quiet.patch
new file mode 100644
index 000000000..87a7e779b
--- /dev/null
+++ b/contrib/libdvdnav/A03-quiet.patch
@@ -0,0 +1,21 @@
+diff -Naur libdvdnav.orig/src/vm/vm.c libdvdnav/src/vm/vm.c
+--- libdvdnav.orig/src/vm/vm.c 2009-03-13 18:28:22.000000000 -0700
++++ libdvdnav/src/vm/vm.c 2009-06-02 13:50:06.000000000 -0700
+@@ -354,8 +354,6 @@
+ fprintf(MSG_OUT, "libdvdnav: vm: failed to open/read the DVD\n");
+ return 0;
+ }
+- dvd_read_name(vm->dvd_name, vm->dvd_serial, dvdroot);
+- vm->map = remap_loadmap(vm->dvd_name);
+ vm->vmgi = ifoOpenVMGI(vm->dvd);
+ if(!vm->vmgi) {
+ fprintf(MSG_OUT, "libdvdnav: vm: failed to read VIDEO_TS.IFO\n");
+@@ -386,6 +384,8 @@
+ /* return 0; Not really used for now.. */
+ }
+ /* ifoRead_TXTDT_MGI(vmgi); Not implemented yet */
++ dvd_read_name(vm->dvd_name, vm->dvd_serial, dvdroot);
++ vm->map = remap_loadmap(vm->dvd_name);
+ }
+ if (vm->vmgi) {
+ int i, mask;