diff options
author | wm4 <wm4@nowhere> | 2015-07-07 15:19:40 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-07-07 15:19:40 +0200 |
commit | 0ebf5979d10388e8ac226d17aca4a4067ddbdbb1 (patch) | |
tree | 3aba023dab4ee2c1f34e6334db3e849903c37f24 | |
parent | 25755f5fe75ad2a4ac9fb4ecf70f7bdf7a58a04c (diff) |
command: make deinterlace property use interlaced-only yadif mode
-rw-r--r-- | DOCS/man/vf.rst | 3 | ||||
-rw-r--r-- | 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: ``<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 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; } |