From 0ebf5979d10388e8ac226d17aca4a4067ddbdbb1 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 7 Jul 2015 15:19:40 +0200 Subject: command: make deinterlace property use interlaced-only yadif mode --- DOCS/man/vf.rst | 3 ++- player/command.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/DOCS/man/vf.rst b/DOCS/man/vf.rst index c9f080e0b4..991dd64eca 100644 --- a/DOCS/man/vf.rst +++ b/DOCS/man/vf.rst @@ -529,7 +529,8 @@ Available filters are: ```` :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 diff --git a/player/command.c b/player/command.c index ac403fb50d..e961a79866 100644 --- a/player/command.c +++ b/player/command.c @@ -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; } -- cgit v1.2.3