diff mbox series

[FFmpeg-devel,4/9] ffmpeg: drop the -vc option

Message ID 20211115152400.5522-4-anton@khirnov.net
State Accepted
Commit a44098152b85b1a121efa39e1c0dc8cc8c27b0ed
Headers show
Series [FFmpeg-devel,1/9] ffmpeg: do not copy chroma_sample_location from the input stream
Related show

Checks

Context Check Description
andriy/configurex86 warning Failed to apply patch
andriy/configureppc warning Failed to apply patch

Commit Message

Anton Khirnov Nov. 15, 2021, 3:23 p.m. UTC
It is undocumented and has been deprecated since 2012.
---
 fftools/ffmpeg_opt.c | 8 --------
 1 file changed, 8 deletions(-)
diff mbox series

Patch

diff --git a/fftools/ffmpeg_opt.c b/fftools/ffmpeg_opt.c
index c960830ff6..e381ef8486 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");
@@ -3884,8 +3878,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", "" },