From a7230dfed0bf563fd9f4673c3020d1cf8461febf Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 31 Oct 2019 16:45:28 +0100 Subject: sws_utils, zimg: destroy vo_x11 and vo_drm performance Raise swscale and zimg default parameters. This restores screenshot quality settings (maybe) unset in the commit before. Also expose some more libswscale and zimg options. Since these options are also used for VOs like x11 and drm, this will make x11/drm/etc. much slower. For compensation, provide a profile that sets the old option values: sw-fast. I'm also enabling zimg here, just as an experiment. The core problem is that we have a single set of command line options which control the settings used for most swscale/zimg uses. This was done in the previous commit. It cannot differentiate between the VOs, which need to be realtime and may accept/require lower quality options, and things like screenshots or vo_image, which can be slower, but should not sacrifice quality by default. Should this have two sets of options or something similar to do the right thing depending on the code which calls libswscale? Maybe. Or should I just ignore the problem, make it someone else's problem (users who want to use software conversion VOs), provide a sub-optimal solution, and call it a day? Definitely, sounds good, pushing to master, goodbye. --- DOCS/interface-changes.rst | 2 ++ 1 file changed, 2 insertions(+) (limited to 'DOCS/interface-changes.rst') diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst index a8eca8d629..c2543b4e1d 100644 --- a/DOCS/interface-changes.rst +++ b/DOCS/interface-changes.rst @@ -27,6 +27,8 @@ Interface changes --- mpv 0.31.0 --- - add `--d3d11-output-csp` to enable explicit selection of a D3D11 swap chain color space. + - add an builtin "sw-fast" profile, which restores performance settings + that were switched to higher quality since mpv 0.30.0 --- mpv 0.30.0 --- - add `--d3d11-output-format` to enable explicit selection of a D3D11 swap chain format. -- cgit v1.2.3