rds-ctl: add support for dynamic/static PTY
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 7 Feb 2014 14:29:09 +0000 (15:29 +0100)
committerHans Verkuil <hans.verkuil@cisco.com>
Fri, 7 Feb 2014 14:33:35 +0000 (15:33 +0100)
This bit was never printed for some reason.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
utils/rds-ctl/rds-ctl.cpp

index 9ab2b65..7745a8f 100644 (file)
@@ -489,9 +489,13 @@ static void print_decoder_info(uint8_t di)
        else
                printf("No Artificial Head, ");
        if (di & V4L2_RDS_FLAG_COMPRESSED)
-               printf("Compressed");
+               printf("Compressed");
        else
-               printf("Not Compressed");
+               printf("Not Compressed, ");
+       if (di & V4L2_RDS_FLAG_DYNAMIC_PTY)
+               printf("Dynamic PTY");
+       else
+               printf("Static PTY");
 }
 
 static void print_rds_tmc(const struct v4l2_rds *handle, uint32_t updated_fields)