[libdvdnav-devel] Fix reading DVD label

John Stebbins git at videolan.org
Tue Jan 13 19:12:08 CET 2015


libdvdnav | branch: master | John Stebbins <stebbins at jetheaddev.com> | Tue Jan 13 11:07:03 2015 -0700| [1cdbd6909097cf36f3357a92de482ec9980ae7ed] | committer: John Stebbins

Fix reading DVD label

This was inadvertently removed with REMAP

> http://git.videolan.org/gitweb.cgi/libdvdnav.git/?a=commit;h=1cdbd6909097cf36f3357a92de482ec9980ae7ed
---

 src/vm/vm.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/vm/vm.c b/src/vm/vm.c
index 7e4d594..1e87376 100644
--- a/src/vm/vm.c
+++ b/src/vm/vm.c
@@ -402,6 +402,9 @@ int vm_reset(vm_t *vm, const char *dvdroot) {
       /* return 0; Not really used for now.. */
     }
     /* ifoRead_TXTDT_MGI(vmgi); Not implemented yet */
+    if(dvd_read_name(vm->dvd_name, vm->dvd_serial, dvdroot) != 1) {
+      fprintf(MSG_OUT, "libdvdnav: vm: dvd_read_name failed\n");
+    }
   }
   if (vm->vmgi) {
     int i, mask;



More information about the libdvdnav-devel mailing list