diff options
author | Anton Khirnov <anton@khirnov.net> | 2021-11-12 18:35:54 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2021-11-23 11:36:59 +0100 |
commit | 84cb255c20800ce8bc12a93a1b63475ea5413010 (patch) | |
tree | 94e596e3aefe4841f004644981c0addefce76468 | |
parent | 5ebdf9bb50ae4769bd3acbfe1e2ab0db154e52cd (diff) | |
download | ffmpeg-84cb255c20800ce8bc12a93a1b63475ea5413010.tar.gz |
ffmpeg: drop -sameq/-samequant options
They did nothing but return an error since 2012.
-rw-r--r-- | fftools/ffmpeg_opt.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/fftools/ffmpeg_opt.c b/fftools/ffmpeg_opt.c index ca87171fe0..45ed727e5e 100644 --- a/fftools/ffmpeg_opt.c +++ b/fftools/ffmpeg_opt.c @@ -303,15 +303,6 @@ static int opt_stats_period(void *optctx, const char *opt, const char *arg) return 0; } -static int opt_sameq(void *optctx, const char *opt, const char *arg) -{ - av_log(NULL, AV_LOG_ERROR, "Option '%s' was removed. " - "If you are looking for an option to preserve the quality (which is not " - "what -%s was for), use -qscale 0 or an equivalent quality factor option.\n", - opt, opt); - return AVERROR(EINVAL); -} - static int opt_audio_codec(void *optctx, const char *opt, const char *arg) { OptionsContext *o = optctx; @@ -3764,10 +3755,6 @@ const OptionDef options[] = { { "vcodec", OPT_VIDEO | HAS_ARG | OPT_PERFILE | OPT_INPUT | OPT_OUTPUT, { .func_arg = opt_video_codec }, "force video codec ('copy' to copy stream)", "codec" }, - { "sameq", OPT_VIDEO | OPT_EXPERT , { .func_arg = opt_sameq }, - "Removed" }, - { "same_quant", OPT_VIDEO | OPT_EXPERT , { .func_arg = opt_sameq }, - "Removed" }, { "timecode", OPT_VIDEO | HAS_ARG | OPT_PERFILE | OPT_OUTPUT, { .func_arg = opt_timecode }, "set initial TimeCode value.", "hh:mm:ss[:;.]ff" }, { "pass", OPT_VIDEO | HAS_ARG | OPT_SPEC | OPT_INT | OPT_OUTPUT, { .off = OFFSET(pass) }, |