summaryrefslogtreecommitdiffstats
path: root/test/test.c
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2015-11-09 13:37:32 -0800
committerJohn Stebbins <[email protected]>2016-02-15 12:38:13 -0700
commit7e5bbec56e9ee7b47d54d6e8ebfe912467479608 (patch)
tree60c78771e72419cf2afbc5653797ff3d62be16ca /test/test.c
parentbced9cf423c41335de91922863940b60fb183b28 (diff)
deinterlace: use avfilter yadif deinterlacer
Diffstat (limited to 'test/test.c')
-rw-r--r--test/test.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/test/test.c b/test/test.c
index a5179c702..47bdbe417 100644
--- a/test/test.c
+++ b/test/test.c
@@ -1262,7 +1262,13 @@ static void ShowHelp()
"\n"
"### Filters---------------------------------------------------------------\n\n"
" -d, --deinterlace Unconditionally deinterlaces all frames\n"
-" <fast/slow/slower/bob");
+" <");
+hb_filter_param_t * param = hb_filter_param_get_presets(HB_FILTER_DEINTERLACE);
+// Skip "custom"
+for (i = 1; param != NULL && param[i].name != NULL; i++)
+{
+ fprintf(out, "%s%s", i > 1 ? "/" : "", param[i].short_name);
+}
#ifdef USE_QSV
if (hb_qsv_available())
{
@@ -1271,7 +1277,7 @@ if (hb_qsv_available())
#endif
fprintf( out, "> or omitted (default settings)\n"
" or\n"
-" <YM:FD> (default 0:-1)\n"
+" <YM:FP> Yadif Mode:Field Parity (default 3:-1)\n"
" --no-deinterlace Disable preset deinterlace filter\n"
" -5, --decomb Selectively deinterlaces when it detects combing\n"
" <fast/bob> or omitted (default settings)\n"