Browse Source

avfilter/rotate: use AV_OPT_TYPE_BOOL for bilinear option

tags/n3.0
Clément Bœsch 9 years ago
parent
commit
2d7726f7ab
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/vf_rotate.c

+ 1
- 1
libavfilter/vf_rotate.c View File

@@ -101,7 +101,7 @@ static const AVOption rotate_options[] = {
{ "oh", "set output height expression", OFFSET(outh_expr_str), AV_OPT_TYPE_STRING, {.str="ih"}, CHAR_MIN, CHAR_MAX, .flags=FLAGS },
{ "fillcolor", "set background fill color", OFFSET(fillcolor_str), AV_OPT_TYPE_STRING, {.str="black"}, CHAR_MIN, CHAR_MAX, .flags=FLAGS },
{ "c", "set background fill color", OFFSET(fillcolor_str), AV_OPT_TYPE_STRING, {.str="black"}, CHAR_MIN, CHAR_MAX, .flags=FLAGS },
{ "bilinear", "use bilinear interpolation", OFFSET(use_bilinear), AV_OPT_TYPE_INT, {.i64=1}, 0, 1, .flags=FLAGS },
{ "bilinear", "use bilinear interpolation", OFFSET(use_bilinear), AV_OPT_TYPE_BOOL, {.i64=1}, 0, 1, .flags=FLAGS },
{ NULL }
};



Loading…
Cancel
Save