[FFmpeg-cvslog] ffmpeg_opt.c: fix regression introduced in 5743095c

Tim Nicholson git at videolan.org
Thu Apr 2 20:41:41 CEST 2015


ffmpeg | branch: master | Tim Nicholson <tim.nicholson at bbc.co.uk> | Thu Apr  2 17:41:22 2015 +0100| [27565ace60d404def06d3a3b82e2e3813ca5a36d] | committer: Michael Niedermayer

ffmpeg_opt.c: fix regression introduced in 5743095c

-vtag is an input and output option.

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

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=27565ace60d404def06d3a3b82e2e3813ca5a36d
---

 ffmpeg_opt.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c
index fb7490a..15eee0b 100644
--- a/ffmpeg_opt.c
+++ b/ffmpeg_opt.c
@@ -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" },



More information about the ffmpeg-cvslog mailing list