summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-25 01:35:17 +0100
committerwm4 <wm4@nowhere>2015-01-25 01:35:17 +0100
commit6945369e9c97c1caf64c9e47901e12f500d82e7e (patch)
treeaec2e95cc1e9ec3ef173dc54875b7b1ad085bfde
parentb1d47786d8c7a151d73595d9ff5dabdfe4f3f5c4 (diff)
downloadmpv-6945369e9c97c1caf64c9e47901e12f500d82e7e.tar.bz2
mpv-6945369e9c97c1caf64c9e47901e12f500d82e7e.tar.xz
vo_opengl: fancy-downscale affects luma-scaler only
-rw-r--r--video/out/gl_video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/gl_video.c b/video/out/gl_video.c
index bc1e04b0e6..23c4bc1435 100644
--- a/video/out/gl_video.c
+++ b/video/out/gl_video.c
@@ -1358,7 +1358,7 @@ static void update_scale_factor(struct gl_video *p, struct scaler *scaler)
double xy[2];
get_scale_factors(p, xy);
double f = MPMIN(xy[0], xy[1]);
- if (p->opts.fancy_downscaling && f < 1.0 &&
+ if (p->opts.fancy_downscaling && scaler->index == 0 && f < 1.0 &&
fabs(xy[0] - f) < 0.01 && fabs(xy[1] - f) < 0.01)
{
MP_VERBOSE(p, "Using fancy-downscaling (scaler %d).\n", scaler->index);