[FFmpeg-cvslog] ffmpeg: drop the -tvstd option

Anton Khirnov git at videolan.org
Tue Nov 23 12:41:12 EET 2021


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Fri Nov 12 18:34:37 2021 +0100| [5ebdf9bb50ae4769bd3acbfe1e2ab0db154e52cd] | committer: Anton Khirnov

ffmpeg: drop the -tvstd option

It is undocumented and has been deprecated since 2012.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5ebdf9bb50ae4769bd3acbfe1e2ab0db154e52cd
---

 fftools/ffmpeg_opt.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/fftools/ffmpeg_opt.c b/fftools/ffmpeg_opt.c
index c3c28ad729..ca87171fe0 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_standard(void *optctx, const char *opt, const char *arg)
-{
-    av_log(NULL, AV_LOG_WARNING, "This option is deprecated, use -standard.\n");
-    return opt_default(optctx, "standard", arg);
-}
-
 static int opt_audio_codec(void *optctx, const char *opt, const char *arg)
 {
     OptionsContext *o = optctx;
@@ -3887,8 +3881,6 @@ const OptionDef options[] = {
         "set canvas size (WxH or abbreviation)", "size" },
 
     /* grab options */
-    { "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", "" },
 
     /* muxer options */



More information about the ffmpeg-cvslog mailing list