From 830f0aed97da7257e1cbe30a367144bc51ec52d2 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 12 Feb 2018 18:23:22 +0100 Subject: video: make --deinterlace and HW deinterlace filters always deinterlace Before this, we made deinterlacing dependent on the video codec metadata (AVFrame.interlaced_frame for libavcodec). So even if --deinterlace=yes was set, we skipped deinterlacing if the flag wasn't set. This is very unreliable and there are many streams with flags incorrectly set. The potential problem is that this might upset people who alwase enabled deinterlace and hoped it worked. But it's likely these people were screwed by this setting anyway. The new behavior is less tricky and easier to understand, and this preferable. Maybe one day we could introduce a --deinterlace=auto, which does the right thing, but of course this would be hard to implement (esecially with hwdec). Fixes #5219. --- DOCS/man/vf.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'DOCS/man/vf.rst') diff --git a/DOCS/man/vf.rst b/DOCS/man/vf.rst index 9537b09597..17df70f920 100644 --- a/DOCS/man/vf.rst +++ b/DOCS/man/vf.rst @@ -488,8 +488,8 @@ Available mpv-only filters are: mpv bugs. ```` - :no: Deinterlace all frames. - :yes: Only deinterlace frames marked as interlaced (default). + :no: Deinterlace all frames (default). + :yes: Only deinterlace frames marked as interlaced. ``reversal-bug=`` :no: Use the API as it was interpreted by older Mesa drivers. While @@ -544,7 +544,7 @@ Available mpv-only filters are: Try to apply inverse telecine, needs motion adaptive temporal deinterlacing. ``interlaced-only=`` - If ``yes`` (default), only deinterlace frames marked as interlaced. + If ``yes``, only deinterlace frames marked as interlaced (default: no). ``hqscaling=<0-9>`` 0 Use default VDPAU scaling (default). @@ -558,7 +558,7 @@ Available mpv-only filters are: ``deint=`` Whether deinterlacing is enabled (default: no). ``interlaced-only=`` - If ``yes`` (default), only deinterlace frames marked as interlaced. + If ``yes``, only deinterlace frames marked as interlaced (default: no). ``mode=`` Tries to select a video processor with the given processing capability. If a video processor supports multiple capabilities, it is not clear -- cgit v1.2.3