intel_infoframe: Display the VIC in decimal
authorDamien Lespiau <damien.lespiau@intel.com>
Mon, 16 Sep 2013 16:52:41 +0000 (17:52 +0100)
committerDamien Lespiau <damien.lespiau@intel.com>
Mon, 30 Sep 2013 17:04:22 +0000 (18:04 +0100)
It's not customary to display the VIC in hexadecimal and lead me to
scratch my head for a couple of seconds. Print it in decimal instead.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
tools/intel_infoframes.c

index b25db9d..c60a87e 100644 (file)
@@ -433,7 +433,7 @@ static void dump_avi_info(Transcoder transcoder)
               frame.avi.R, frame.avi.M, frame.avi.C);
        printf("- SC: %x, Q: %x, EC: %x, ITC: %x\n",
               frame.avi.SC, frame.avi.Q, frame.avi.EC, frame.avi.ITC);
-       printf("- VIC: %x, Rsvd1: %x\n", frame.avi.VIC, frame.avi.Rsvd1);
+       printf("- VIC: %d, Rsvd1: %x\n", frame.avi.VIC, frame.avi.Rsvd1);
        printf("- PR: %x, Rsvd2: %x\n", frame.avi.PR, frame.avi.Rsvd2);
        printf("- top: %x, bottom: %x, left: %x, right: %x\n",
               frame.avi.top, frame.avi.bottom, frame.avi.left,