diff options
author | Anton Khirnov <anton@khirnov.net> | 2021-11-12 18:34:05 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2021-11-23 11:36:59 +0100 |
commit | a44098152b85b1a121efa39e1c0dc8cc8c27b0ed (patch) | |
tree | 2bd79642572cd38a476ae9f35bc10ce8e366920a /fftools | |
parent | d013453caafcc44c74d4bdbaa99ee4e8f32414cb (diff) | |
download | ffmpeg-a44098152b85b1a121efa39e1c0dc8cc8c27b0ed.tar.gz |
ffmpeg: drop the -vc option
It is undocumented and has been deprecated since 2012.
Diffstat (limited to 'fftools')
-rw-r--r-- | fftools/ffmpeg_opt.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/fftools/ffmpeg_opt.c b/fftools/ffmpeg_opt.c index aec60a2532..c3c28ad729 100644 --- a/fftools/ffmpeg_opt.c +++ b/fftools/ffmpeg_opt.c @@ -312,12 +312,6 @@ static int opt_sameq(void *optctx, const char *opt, const char *arg) return AVERROR(EINVAL); } -static int opt_video_channel(void *optctx, const char *opt, const char *arg) -{ - av_log(NULL, AV_LOG_WARNING, "This option is deprecated, use -channel.\n"); - return opt_default(optctx, "channel", arg); -} - static int opt_video_standard(void *optctx, const char *opt, const char *arg) { av_log(NULL, AV_LOG_WARNING, "This option is deprecated, use -standard.\n"); @@ -3893,8 +3887,6 @@ const OptionDef options[] = { "set canvas size (WxH or abbreviation)", "size" }, /* grab options */ - { "vc", HAS_ARG | OPT_EXPERT | OPT_VIDEO, { .func_arg = opt_video_channel }, - "deprecated, use -channel", "channel" }, { "tvstd", HAS_ARG | OPT_EXPERT | OPT_VIDEO, { .func_arg = opt_video_standard }, "deprecated, use -standard", "standard" }, { "isync", OPT_BOOL | OPT_EXPERT, { &input_sync }, "this option is deprecated and does nothing", "" }, |