[FFmpeg-cvslog] avfilter/vf_lut: use AV_OPT_TYPE_BOOL for negate_alpha option
Paul B Mahol
git at videolan.org
Wed Sep 9 12:01:37 CEST 2015
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Wed Sep 9 08:56:51 2015 +0000| [af24763400692d72e8b0e227dc4979ebb6ddc13f] | committer: Paul B Mahol
avfilter/vf_lut: use AV_OPT_TYPE_BOOL for negate_alpha option
Signed-off-by: Paul B Mahol <onemda at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=af24763400692d72e8b0e227dc4979ebb6ddc13f
---
libavfilter/vf_lut.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/vf_lut.c b/libavfilter/vf_lut.c
index c81575a..7d708f6 100644
--- a/libavfilter/vf_lut.c
+++ b/libavfilter/vf_lut.c
@@ -503,7 +503,7 @@ DEFINE_LUT_FILTER(lutrgb, "Compute and apply a lookup table to the RGB input vid
#if CONFIG_NEGATE_FILTER
static const AVOption negate_options[] = {
- { "negate_alpha", NULL, OFFSET(negate_alpha), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, FLAGS },
+ { "negate_alpha", NULL, OFFSET(negate_alpha), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, FLAGS },
{ NULL }
};
More information about the ffmpeg-cvslog
mailing list