|
|
|
@ -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 }, |
|
|
|
|