diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2013-03-03 08:23:08 -0800 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-03-07 09:35:24 +0200 |
commit | 54b298fe5650c124c29a8283cfd05024ac409d3a (patch) | |
tree | be859b9f5bf9bd26c815acb7f759200f318def2c /avconv_opt.c | |
parent | 64e4386974b976070fc22ec3153e163de4a3e14e (diff) | |
download | ffmpeg-54b298fe5650c124c29a8283cfd05024ac409d3a.tar.gz |
lavc: Deprecate the deinterlace functions in libavcodec
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'avconv_opt.c')
-rw-r--r-- | avconv_opt.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/avconv_opt.c b/avconv_opt.c index 7c58f49e3b..5bb7fb75f5 100644 --- a/avconv_opt.c +++ b/avconv_opt.c @@ -1715,12 +1715,14 @@ static int opt_vsync(void *optctx, const char *opt, const char *arg) return 0; } +#if FF_API_DEINTERLACE static int opt_deinterlace(void *optctx, const char *opt, const char *arg) { av_log(NULL, AV_LOG_WARNING, "-%s is deprecated, use -filter:v yadif instead\n", opt); do_deinterlace = 1; return 0; } +#endif int opt_cpuflags(void *optctx, const char *opt, const char *arg) { @@ -2057,8 +2059,10 @@ const OptionDef options[] = { "select the pass number (1 or 2)", "n" }, { "passlogfile", OPT_VIDEO | HAS_ARG | OPT_STRING | OPT_EXPERT | OPT_SPEC, { .off = OFFSET(passlogfiles) }, "select two pass log file name prefix", "prefix" }, +#if FF_API_DEINTERLACE { "deinterlace", OPT_VIDEO | OPT_EXPERT , { .func_arg = opt_deinterlace }, "this option is deprecated, use the yadif filter instead" }, +#endif { "vstats", OPT_VIDEO | OPT_EXPERT , { &opt_vstats }, "dump video coding statistics to file" }, { "vstats_file", OPT_VIDEO | HAS_ARG | OPT_EXPERT , { opt_vstats_file }, |