aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2014-02-07 15:28:20 +0100
committerHans Verkuil <hans.verkuil@cisco.com>2014-02-07 15:33:20 +0100
commit9ec959fedff0a24d2c9007add495ed89d4696b05 (patch)
treedc33d2eee49b9ee913c264d72770f3cd75563599
parent63fa85a6ae00672a4d4b3bf7ad1a25f7fca7fc82 (diff)
libv4l2rds: rename V4L2_RDS_FLAG_STATIC_PTY to _DYNAMIC_PTY
If the bit is 1, then the PTY is dynamic, not static as the name suggests. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
-rw-r--r--lib/include/libv4l2rds.h2
-rw-r--r--lib/libv4l2rds/libv4l2rds.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/include/libv4l2rds.h b/lib/include/libv4l2rds.h
index e1078de4..ff1050ac 100644
--- a/lib/include/libv4l2rds.h
+++ b/lib/include/libv4l2rds.h
@@ -94,7 +94,7 @@ extern "C" {
#define V4L2_RDS_FLAG_STEREO 0x01
#define V4L2_RDS_FLAG_ARTIFICIAL_HEAD 0x02
#define V4L2_RDS_FLAG_COMPRESSED 0x04
-#define V4L2_RDS_FLAG_STATIC_PTY 0x08
+#define V4L2_RDS_FLAG_DYNAMIC_PTY 0x08
/* TMC related codes
* used to extract TMC fields from RDS-TMC groups
diff --git a/lib/libv4l2rds/libv4l2rds.c b/lib/libv4l2rds/libv4l2rds.c
index 616dc46d..913bdce2 100644
--- a/lib/libv4l2rds/libv4l2rds.c
+++ b/lib/libv4l2rds/libv4l2rds.c
@@ -828,7 +828,7 @@ static uint32_t rds_decode_group0(struct rds_private_state *priv_state)
break;
case 3:
priv_state->new_di = set_bit(priv_state->new_di,
- V4L2_RDS_FLAG_STATIC_PTY, bit2);
+ V4L2_RDS_FLAG_DYNAMIC_PTY, bit2);
/* check if the value of DI has changed, and store
* and signal DI update in case */
if (handle->di != priv_state->new_di) {

Privacy Policy