ffmpeg: add OPT_INPUT to -guess_layout_max.
authorNicolas George <nicolas.george@normalesup.org>
Thu, 14 Mar 2013 18:19:38 +0000 (19:19 +0100)
committerNicolas George <nicolas.george@normalesup.org>
Thu, 14 Mar 2013 18:32:22 +0000 (19:32 +0100)
ffmpeg_opt.c

index 951a32a..39fb3b4 100644 (file)
@@ -2722,7 +2722,7 @@ const OptionDef options[] = {
         "set channel layout", "layout" },
     { "af",             OPT_AUDIO | HAS_ARG  | OPT_PERFILE | OPT_OUTPUT,           { .func_arg = opt_audio_filters },
         "set audio filters", "filter_graph" },
-    { "guess_layout_max", OPT_AUDIO | HAS_ARG | OPT_INT | OPT_SPEC | OPT_EXPERT,   { .off = OFFSET(guess_layout_max) },
+    { "guess_layout_max", OPT_AUDIO | HAS_ARG | OPT_INT | OPT_SPEC | OPT_EXPERT | OPT_INPUT, { .off = OFFSET(guess_layout_max) },
       "set the maximum number of channels to try to guess the channel layout" },
 
     /* subtitle options */