From 6945369e9c97c1caf64c9e47901e12f500d82e7e Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 25 Jan 2015 01:35:17 +0100 Subject: vo_opengl: fancy-downscale affects luma-scaler only --- video/out/gl_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/out') 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); -- cgit v1.2.3