diff options
author | Clément Bœsch <u@pkh.me> | 2015-09-09 00:12:42 +0200 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2015-09-09 00:12:42 +0200 |
commit | a62bf26c28f66099a96c36c3c6f9787eac067565 (patch) | |
tree | e7e7503a42558c77d9addc824b53f84b59bd28af /libavfilter | |
parent | f5436ebe22e95c2a0cf46a3be33d85d80f7d9926 (diff) | |
download | ffmpeg-a62bf26c28f66099a96c36c3c6f9787eac067565.tar.gz |
avfilter/il: use AV_OPT_TYPE_BOOL for {luma,chroma,alpha}_swap options
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_il.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavfilter/vf_il.c b/libavfilter/vf_il.c index edb58d0324..d370b5257a 100644 --- a/libavfilter/vf_il.c +++ b/libavfilter/vf_il.c @@ -70,12 +70,12 @@ static const AVOption il_options[] = { {"i", NULL, 0, AV_OPT_TYPE_CONST, {.i64=MODE_INTERLEAVE}, 0, 0, FLAGS, "alpha_mode"}, {"deinterleave", NULL, 0, AV_OPT_TYPE_CONST, {.i64=MODE_DEINTERLEAVE}, 0, 0, FLAGS, "alpha_mode"}, {"d", NULL, 0, AV_OPT_TYPE_CONST, {.i64=MODE_DEINTERLEAVE}, 0, 0, FLAGS, "alpha_mode"}, - {"luma_swap", "swap luma fields", OFFSET(luma_swap), AV_OPT_TYPE_INT, {.i64=0}, 0, 1, FLAGS}, - {"ls", "swap luma fields", OFFSET(luma_swap), AV_OPT_TYPE_INT, {.i64=0}, 0, 1, FLAGS}, - {"chroma_swap", "swap chroma fields", OFFSET(chroma_swap), AV_OPT_TYPE_INT, {.i64=0}, 0, 1, FLAGS}, - {"cs", "swap chroma fields", OFFSET(chroma_swap), AV_OPT_TYPE_INT, {.i64=0}, 0, 1, FLAGS}, - {"alpha_swap", "swap alpha fields", OFFSET(alpha_swap), AV_OPT_TYPE_INT, {.i64=0}, 0, 1, FLAGS}, - {"as", "swap alpha fields", OFFSET(alpha_swap), AV_OPT_TYPE_INT, {.i64=0}, 0, 1, FLAGS}, + {"luma_swap", "swap luma fields", OFFSET(luma_swap), AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, FLAGS}, + {"ls", "swap luma fields", OFFSET(luma_swap), AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, FLAGS}, + {"chroma_swap", "swap chroma fields", OFFSET(chroma_swap), AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, FLAGS}, + {"cs", "swap chroma fields", OFFSET(chroma_swap), AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, FLAGS}, + {"alpha_swap", "swap alpha fields", OFFSET(alpha_swap), AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, FLAGS}, + {"as", "swap alpha fields", OFFSET(alpha_swap), AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, FLAGS}, {NULL} }; |