diff options
author | wm4 <wm4@nowhere> | 2016-09-07 18:48:24 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-09-07 18:48:24 +0200 |
commit | 622f9cf1aac453da6f9c161e3fce4352b8697c90 (patch) | |
tree | 306341bf83f6cc1dae3d5d8f4d00d72977382141 | |
parent | 4552ee286b22b12d4e26cc7a948b7b4f59f231dc (diff) | |
download | mpv-622f9cf1aac453da6f9c161e3fce4352b8697c90.tar.bz2 mpv-622f9cf1aac453da6f9c161e3fce4352b8697c90.tar.xz |
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.
-rw-r--r-- | video/out/opengl/video.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |