[libdvdnav-devel] [Git][videolan/libdvdread][master] DVD-VR: make ifoOpen read tables

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Tue Jan 27 20:11:42 UTC 2026



Jean-Baptiste Kempf pushed to branch master at VideoLAN / libdvdread


Commits:
e294cf71 by Saifelden Mohamed Ismail at 2026-01-27T19:45:48+02:00
DVD-VR: make ifoOpen read tables

- - - - -


1 changed file:

- src/ifo_read.c


Changes:

=====================================
src/ifo_read.c
=====================================
@@ -507,7 +507,18 @@ static ifo_handle_t *ifoOpenFileOrBackup(dvd_reader_t *ctx, int title,
 
   if(ifoRead_RTAV_VMGI(ifofile)){
     ifofile->ifo_format=IFO_VIDEO_RECORDING;
-    /* TODO: add logic for reading the rest of the information tables */
+
+    /* PS_GI and PGIT are required for the module */
+    if(!ifoRead_PS_GI(ifofile))
+      goto ifoOpen_fail;
+
+    if(!ifoRead_PGIT(ifofile))
+      goto ifoOpen_fail;
+
+    /* likely empty */
+    if(!ifoRead_PG_GI(ifofile))
+      goto ifoOpen_fail;
+
   }
 
 ifoOpen_fail:



View it on GitLab: https://code.videolan.org/videolan/libdvdread/-/commit/e294cf7156ce8170ebb6786e21c4baf7aa5f48e4

-- 
View it on GitLab: https://code.videolan.org/videolan/libdvdread/-/commit/e294cf7156ce8170ebb6786e21c4baf7aa5f48e4
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the libdvdnav-devel mailing list