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:
parent
25755f5fe7
commit
0ebf5979d1
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user