aboutsummaryrefslogtreecommitdiffstats
path: root/utils/rds-ctl
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2014-02-07 15:29:09 +0100
committerHans Verkuil <hans.verkuil@cisco.com>2014-02-07 15:33:35 +0100
commitb45b7e814bca3a695b500d269308e1b16a6f9f60 (patch)
treeeb98e84738db209c9fbe1cdb8fc2e2b5ecbca607 /utils/rds-ctl
parent9ec959fedff0a24d2c9007add495ed89d4696b05 (diff)
rds-ctl: add support for dynamic/static PTY
This bit was never printed for some reason. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Diffstat (limited to 'utils/rds-ctl')
-rw-r--r--utils/rds-ctl/rds-ctl.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/utils/rds-ctl/rds-ctl.cpp b/utils/rds-ctl/rds-ctl.cpp
index 9ab2b65c..7745a8fd 100644
--- a/utils/rds-ctl/rds-ctl.cpp
+++ b/utils/rds-ctl/rds-ctl.cpp
@@ -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)

Privacy Policy