mirror of
https://github.com/mpv-player/mpv
synced 2025-02-05 22:52:18 +00:00
vo_opengl: correctly disable interpolation if tscale can't be used
It'll fail with an assertion in the interpolation code otherwise.
This commit is contained in:
parent
c160e5f31d
commit
e68b510a94
@ -2727,6 +2727,8 @@ static void check_gl_features(struct gl_video *p)
|
||||
if (reason) {
|
||||
p->opts.scaler[n].kernel.name = "bilinear";
|
||||
MP_WARN(p, "Disabling scaler #%d %s.\n", n, reason);
|
||||
if (n == SCALER_TSCALE)
|
||||
p->opts.interpolation = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user