diff options
author | Clément Bœsch <u@pkh.me> | 2015-09-09 00:06:15 +0200 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2015-09-09 00:06:15 +0200 |
commit | 334b11246c3ee254d84f69dd5b1962ab0c878137 (patch) | |
tree | 864e761c9e81b28b36b166898d876cdc4f1c59d0 | |
parent | e1d24e6c1ec2e51eac82cea42bf581eebd664708 (diff) | |
download | ffmpeg-334b11246c3ee254d84f69dd5b1962ab0c878137.tar.gz |
avfilter/fade: use AV_OPT_TYPE_BOOL for alpha option
-rw-r--r-- | libavfilter/vf_fade.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_fade.c b/libavfilter/vf_fade.c index 3e6aa7fe87..040e3fdc53 100644 --- a/libavfilter/vf_fade.c +++ b/libavfilter/vf_fade.c @@ -384,7 +384,7 @@ static const AVOption fade_options[] = { OFFSET(nb_frames), AV_OPT_TYPE_INT, { .i64 = 25 }, 0, INT_MAX, FLAGS }, { "n", "Number of frames to which the effect should be applied.", OFFSET(nb_frames), AV_OPT_TYPE_INT, { .i64 = 25 }, 0, INT_MAX, FLAGS }, - { "alpha", "fade alpha if it is available on the input", OFFSET(alpha), AV_OPT_TYPE_INT, {.i64 = 0 }, 0, 1, FLAGS }, + { "alpha", "fade alpha if it is available on the input", OFFSET(alpha), AV_OPT_TYPE_BOOL, {.i64 = 0 }, 0, 1, FLAGS }, { "start_time", "Number of seconds of the beginning of the effect.", OFFSET(start_time), AV_OPT_TYPE_DURATION, {.i64 = 0. }, 0, INT32_MAX, FLAGS }, { "st", "Number of seconds of the beginning of the effect.", |