diff options
author | wm4 <wm4@nowhere> | 2016-01-25 21:35:39 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-01-25 21:46:40 +0100 |
commit | bd1fb6f9b13f2b70a0bfcd0b6be3e16917dfd8bb (patch) | |
tree | 34df6acbc92801bf120d766f12f23984769d7833 /video/out | |
parent | b53cb8de5e8552bfe142df9cea3de6907a187dc7 (diff) |
vo_opengl: default scaler-resizes-only sub-option to yes
Often requested. The main argument, that prominent scalers like sharpen
change the image even if no scaling happens, disappeared anyway.
("sharpen", unsharp masking, is neither prominent nor a scaler anymore.
This is an artifact from MPlayer, which fuses unsharp masking with
bilinear scaling in order to make it single-pass, or so.)
Diffstat (limited to 'video/out')
-rw-r--r-- | video/out/opengl/video.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/opengl/video.c b/video/out/opengl/video.c index 69b910e7e5..8a23b2570b 100644 --- a/video/out/opengl/video.c +++ b/video/out/opengl/video.c @@ -337,6 +337,7 @@ const struct gl_video_opts gl_video_opts_def = { {{"mitchell", .params={NAN, NAN}}, {.params = {NAN, NAN}}, .clamp = 1, }, // tscale }, + .scaler_resizes_only = 1, .scaler_lut_size = 6, .alpha_mode = 3, .background = {0, 0, 0, 255}, @@ -361,6 +362,7 @@ const struct gl_video_opts gl_video_opts_hq_def = { {{"mitchell", .params={NAN, NAN}}, {.params = {NAN, NAN}}, .clamp = 1, }, // tscale }, + .scaler_resizes_only = 1, .scaler_lut_size = 6, .alpha_mode = 3, .background = {0, 0, 0, 255}, |