intel_infoframes: Be future-proof about showing 3D_Ext_Data
authorDamien Lespiau <damien.lespiau@intel.com>
Tue, 20 Aug 2013 13:20:06 +0000 (14:20 +0100)
committerDamien Lespiau <damien.lespiau@intel.com>
Tue, 20 Aug 2013 13:20:06 +0000 (14:20 +0100)
As Ville noted, future 3D_Struct must also send 3D_Ext_Data in the
vendor infoframe.

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

index 3b78d1f..b25db9d 100644 (file)
@@ -493,7 +493,7 @@ static void dump_vendor_hdmi(DipInfoFrame *frame)
                       s3d_structure_to_string(s3d_structure));
 
                /* Side-by-side (half) */
-               if (s3d_structure == 8)
+               if (s3d_structure >= 8)
                        printf("- 3D Ext Data 0x%x\n",
                               frame->vendor.s3d_ext_data);
        }