From: jstebbins Date: Tue, 2 Jun 2009 21:05:12 +0000 (+0000) Subject: libdvdnav: add patch that moves reading title label below validity checks X-Git-Tag: 0.9.4~489 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fba555be55cf71b910587043e0aea02abb14509f;p=handbrake 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 --- 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;