summaryrefslogtreecommitdiff
path: root/libavfilter/af_hdcd.c
diff options
context:
space:
mode:
authorBurt P <pburt0@gmail.com>2016-08-05 16:08:46 -0500
committerBurt P <pburt0@gmail.com>2016-08-06 11:16:58 -0500
commit2ce985c049bccec6ca625ab9944f54f132499d54 (patch)
tree86e29a83c40e95fcc3e27fae98ce409052cfdc3d /libavfilter/af_hdcd.c
parentc1bfeda5a34631787e07702f7a3569a41751caeb (diff)
af_hdcd: convert AVOptions from INT to BOOL
As suggested by Timothy Gu. Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'libavfilter/af_hdcd.c')
-rw-r--r--libavfilter/af_hdcd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/af_hdcd.c b/libavfilter/af_hdcd.c
index ef3c369714..610dd9e27f 100644
--- a/libavfilter/af_hdcd.c
+++ b/libavfilter/af_hdcd.c
@@ -906,9 +906,9 @@ typedef struct HDCDContext {
#define A AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM
static const AVOption hdcd_options[] = {
{ "process_stereo", "Process stereo channels together. Only apply target_gain when both channels match.",
- OFFSET(process_stereo), AV_OPT_TYPE_INT, { .i64 = HDCD_PROCESS_STEREO_DEFAULT }, 0, 1, A },
+ OFFSET(process_stereo), AV_OPT_TYPE_BOOL, { .i64 = HDCD_PROCESS_STEREO_DEFAULT }, 0, 1, A },
{ "force_pe", "Always extend peaks above -3dBFS even when PE is not signaled.",
- OFFSET(force_pe), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, A },
+ OFFSET(force_pe), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, A },
{NULL}
};