From e68b510a942f033c629856a36df341e05aa44e50 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 12 May 2016 19:34:02 +0200 Subject: vo_opengl: correctly disable interpolation if tscale can't be used It'll fail with an assertion in the interpolation code otherwise. --- video/out/opengl/video.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'video/out/opengl/video.c') diff --git a/video/out/opengl/video.c b/video/out/opengl/video.c index 8252c55a63..4aef3280be 100644 --- a/video/out/opengl/video.c +++ b/video/out/opengl/video.c @@ -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; } } } -- cgit v1.2.3