[DVDnav-discuss] r979 - trunk/libdvdnav/src/dvdread/ifo_print.c

nicodvb subversion at mplayerhq.hu
Sun Dec 30 14:58:36 CET 2007


Author: nicodvb
Date: Sun Dec 30 14:58:36 2007
New Revision: 979

Log:
report when no FirstPlayPGC is present - ogle-1736

Modified:
   trunk/libdvdnav/src/dvdread/ifo_print.c

Modified: trunk/libdvdnav/src/dvdread/ifo_print.c
==============================================================================
--- trunk/libdvdnav/src/dvdread/ifo_print.c	(original)
+++ trunk/libdvdnav/src/dvdread/ifo_print.c	Sun Dec 30 14:58:36 2007
@@ -1091,7 +1091,10 @@ void ifo_print(dvd_reader_t *dvd, int ti
     ifo_print_VMGI_MAT(ifohandle->vmgi_mat);
 
     printf("\nFirst Play PGC\n--------------\n");
+    if(ifohandle->first_play_pgc)
     ifo_print_PGC(ifohandle->first_play_pgc);
+    else
+      printf("No First Play PGC present\n");
 
     printf("\nTitle Track search pointer table\n");
     printf(  "------------------------------------------------\n");



More information about the DVDnav-discuss mailing list