From 622f9cf1aac453da6f9c161e3fce4352b8697c90 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 7 Sep 2016 18:48:24 +0200 Subject: vo_opengl: fix incorrect video rendering after vdpau preemption recovery This could also trigger in certain other cases, whenever it falls back to dumb mode. --- video/out/opengl/video.c | 1 + 1 file changed, 1 insertion(+) diff --git a/video/out/opengl/video.c b/video/out/opengl/video.c index 4bc733ae89..0e1f58e7e8 100644 --- a/video/out/opengl/video.c +++ b/video/out/opengl/video.c @@ -2373,6 +2373,7 @@ static void pass_render_frame(struct gl_video *p) p->components = 0; p->saved_tex_num = 0; p->hook_fbo_num = 0; + p->use_linear = false; if (p->image_params.rotate % 180 == 90) MPSWAP(int, p->texture_w, p->texture_h); -- cgit v1.2.3