command: make auto-deinterlacing output at field rate

This was requested by a user.

The vdpau and vaapi deinterlacers already do this.
This commit is contained in:
wm4
2015-08-04 17:37:07 +02:00
parent 0b1c3e8de2
commit 2d77818183

View File

@@ -2128,7 +2128,7 @@ static int probe_deint_filters(struct MPContext *mpctx)
if (check_output_format(mpctx, IMGFMT_VAAPI) &&
probe_deint_filter(mpctx, "vavpp"))
return 0;
if (probe_deint_filter(mpctx, "yadif:interlaced-only=yes"))
if (probe_deint_filter(mpctx, "yadif:mode=field:interlaced-only=yes"))
return 0;
return -1;
}