diff mbox

v4l-utils: Add support for new RDS CAP bits.

Message ID 1287647561-28386-1-git-send-email-matti.j.aaltonen@nokia.com (mailing list archive)
State Not Applicable
Headers show

Commit Message

Matti Aaltonen Oct. 21, 2010, 7:52 a.m. UTC
None
diff mbox

Patch

diff --git a/utils/v4l2-ctl/v4l2-ctl.cpp b/utils/v4l2-ctl/v4l2-ctl.cpp
index ab9a7d1..bd971dc 100644
--- a/utils/v4l2-ctl/v4l2-ctl.cpp
+++ b/utils/v4l2-ctl/v4l2-ctl.cpp
@@ -1266,6 +1266,10 @@  static std::string tcap2s(unsigned cap)
 		s += "lang2 ";
 	if (cap & V4L2_TUNER_CAP_RDS)
 		s += "rds ";
+	if (cap & V4L2_TUNER_CAP_RDS_BLOCK_IO)
+		s += "rds-block-io ";
+	if (cap & V4L2_TUNER_CAP_RDS_CONTROLS)
+		s += "rds-controls ";
 	return s;
 }