Skip to content

Commit

Permalink
ffmpeg: drop the -vc option
Browse files Browse the repository at this point in the history
It is undocumented and has been deprecated since 2012.
  • Loading branch information
elenril committed Nov 23, 2021
1 parent d013453 commit a440981
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions fftools/ffmpeg_opt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down Expand Up @@ -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", "" },
Expand Down

0 comments on commit a440981

Please sign in to comment.