changeset 251:1c8dc80922d3 src

Add extra info to printout when using ifo_dump.
author jcdutton
date Mon, 27 Sep 2004 12:24:01 +0000
parents 12cdd1369f77
children aee8af592d66
files dvdread/ifo_print.c
diffstat 1 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/dvdread/ifo_print.c	Sun Sep 12 15:18:16 2004 +0000
+++ b/dvdread/ifo_print.c	Mon Sep 27 12:24:01 2004 +0000
@@ -723,8 +723,12 @@
   
   for(i = 0; i < 32; i++) {
     if(pgc->subp_control[i] & 0x80000000) { /* The 'is present' bit */
-      printf("Subpicture stream %2i control: %08x\n", 
-	     i, pgc->subp_control[i]);
+      printf("Subpicture stream %2i control: %08x: 4:3=%d, Wide=%d, Letterbox=%d, Pan-Scan=%d\n", 
+	     i, pgc->subp_control[i],
+	     (pgc->subp_control[i] >>24) & 0x1f,
+	     (pgc->subp_control[i] >>16) & 0x1f,
+	     (pgc->subp_control[i] >>8) & 0x1f,
+	     (pgc->subp_control[i] ) & 0x1f);
     }
   }
   
@@ -1164,6 +1168,9 @@
 
 /*
  * $Log$
+ * Revision 1.2  2004/09/27 12:24:01  jcdutton
+ * Add extra info to printout when using ifo_dump.
+ *
  * Revision 1.1  2004/01/11 21:43:13  mroi
  * big build system changes
  *  * cleaned up all Makefiles and added a Makefile.common