mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
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:
@@ -2128,7 +2128,7 @@ static int probe_deint_filters(struct MPContext *mpctx)
|
|||||||
if (check_output_format(mpctx, IMGFMT_VAAPI) &&
|
if (check_output_format(mpctx, IMGFMT_VAAPI) &&
|
||||||
probe_deint_filter(mpctx, "vavpp"))
|
probe_deint_filter(mpctx, "vavpp"))
|
||||||
return 0;
|
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 0;
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user