vo_opengl: fancy-downscale affects luma-scaler only

This commit is contained in:
wm4 2015-01-25 01:35:17 +01:00
parent b1d47786d8
commit 6945369e9c
1 changed files with 1 additions and 1 deletions

View File

@ -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);