]> git.sesse.net Git - ffmpeg/commitdiff
ffmpeg_opt.c: fix regression introduced in 5743095c
authorTim Nicholson <tim.nicholson@bbc.co.uk>
Thu, 2 Apr 2015 16:41:22 +0000 (17:41 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 2 Apr 2015 18:04:00 +0000 (20:04 +0200)
-vtag is an input and output option.

Signed-off-by: Tim Nicholson <tim.nicholson@bbc.co.uk>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg_opt.c

index fb7490adf6479e9d8304b1c2d2882578c4bab122..15eee0bd3215b810587f5098d7fab3c8e49c8fc1 100644 (file)
@@ -3040,7 +3040,7 @@ const OptionDef options[] = {
                       OPT_INPUT | OPT_OUTPUT,                                    { .off = OFFSET(top_field_first) },
         "top=1/bottom=0/auto=-1 field first", "" },
     { "vtag",         OPT_VIDEO | HAS_ARG | OPT_EXPERT  | OPT_PERFILE |
-                      OPT_OUTPUT,                                                { .func_arg = opt_old2new },
+                      OPT_INPUT | OPT_OUTPUT,                                    { .func_arg = opt_old2new },
         "force video tag/fourcc", "fourcc/tag" },
     { "qphist",       OPT_VIDEO | OPT_BOOL | OPT_EXPERT ,                        { &qp_hist },
         "show QP histogram" },