1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-19 05:15:12 +00:00

command: make deinterlace property use interlaced-only yadif mode

This commit is contained in:
wm4 2015-07-07 15:19:40 +02:00
parent 25755f5fe7
commit 0ebf5979d1
2 changed files with 3 additions and 2 deletions

View File

@ -529,7 +529,8 @@ Available filters are:
``<interlaced-only>``
:no: Deinterlace all frames (default).
:yes: Only deinterlace frames marked as interlaced.
:yes: Only deinterlace frames marked as interlaced (default if this
filter is inserted via ``deinterlace`` property).
This filter, is automatically inserted when using the ``D`` key (or any
other key that toggles the ``deinterlace`` property or when using the

View File

@ -2125,7 +2125,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"))
if (probe_deint_filter(mpctx, "yadif:interlaced-only=yes"))
return 0;
return -1;
}