From 9ec959fedff0a24d2c9007add495ed89d4696b05 Mon Sep 17 00:00:00 2001 From: Hans Verkuil Date: Fri, 7 Feb 2014 15:28:20 +0100 Subject: [PATCH] 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 --- lib/include/libv4l2rds.h | 2 +- lib/libv4l2rds/libv4l2rds.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/include/libv4l2rds.h b/lib/include/libv4l2rds.h index e1078de..ff1050a 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 616dc46..913bdce 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) { -- 2.7.4