Message ID | 1470434084-1323-2-git-send-email-pburt0@gmail.com |
---|---|
State | Accepted |
Commit | 2ce985c049bccec6ca625ab9944f54f132499d54 |
Headers | show |
On Fri, Aug 05, 2016 at 04:54:43PM -0500, Burt P wrote: > As suggested by Timothy Gu. > > Signed-off-by: Burt P <pburt0@gmail.com> > --- > libavfilter/af_hdcd.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) LGTM thx [...]
applied thx :) On Fri, Aug 5, 2016 at 4:54 PM, Burt P <pburt0@gmail.com> wrote: > As suggested by Timothy Gu. > > Signed-off-by: Burt P <pburt0@gmail.com> > --- > libavfilter/af_hdcd.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/libavfilter/af_hdcd.c b/libavfilter/af_hdcd.c > index ef3c369..610dd9e 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} > }; > > -- > 2.7.4 >
diff --git a/libavfilter/af_hdcd.c b/libavfilter/af_hdcd.c index ef3c369..610dd9e 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} };
As suggested by Timothy Gu. Signed-off-by: Burt P <pburt0@gmail.com> --- libavfilter/af_hdcd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)