diff options
author | Clément Bœsch <clement@stupeflix.com> | 2015-11-21 22:04:54 +0100 |
---|---|---|
committer | Clément Bœsch <clement@stupeflix.com> | 2015-12-04 15:37:06 +0100 |
commit | 0e62b5d1ef1312adb2c4815fcd59c5bcd6dc4419 (patch) | |
tree | da0fb45774fa983b6d64c5e35772f041d4627e7c /libavfilter/vf_scale.c | |
parent | fb99ef0bd39a1859d0e65c6c16caa8e17dd3cfbe (diff) | |
download | ffmpeg-0e62b5d1ef1312adb2c4815fcd59c5bcd6dc4419.tar.gz |
avfilter: use AV_OPT_TYPE_BOOL in a bunch of places
Diffstat (limited to 'libavfilter/vf_scale.c')
-rw-r--r-- | libavfilter/vf_scale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c index 1032688021..f2f475e231 100644 --- a/libavfilter/vf_scale.c +++ b/libavfilter/vf_scale.c @@ -628,7 +628,7 @@ static const AVOption scale_options[] = { { "h", "Output video height", OFFSET(h_expr), AV_OPT_TYPE_STRING, .flags = FLAGS }, { "height","Output video height", OFFSET(h_expr), AV_OPT_TYPE_STRING, .flags = FLAGS }, { "flags", "Flags to pass to libswscale", OFFSET(flags_str), AV_OPT_TYPE_STRING, { .str = "bilinear" }, .flags = FLAGS }, - { "interl", "set interlacing", OFFSET(interlaced), AV_OPT_TYPE_INT, {.i64 = 0 }, -1, 1, FLAGS }, + { "interl", "set interlacing", OFFSET(interlaced), AV_OPT_TYPE_BOOL, {.i64 = 0 }, -1, 1, FLAGS }, { "size", "set video size", OFFSET(size_str), AV_OPT_TYPE_STRING, {.str = NULL}, 0, FLAGS }, { "s", "set video size", OFFSET(size_str), AV_OPT_TYPE_STRING, {.str = NULL}, 0, FLAGS }, { "in_color_matrix", "set input YCbCr type", OFFSET(in_color_matrix), AV_OPT_TYPE_STRING, { .str = "auto" }, .flags = FLAGS }, |