summaryrefslogtreecommitdiffstats
path: root/video/out
diff options
context:
space:
mode:
authorNiklas Haas <git@nand.wakku.to>2015-07-18 18:06:35 +0200
committerwm4 <wm4@nowhere>2015-07-18 18:41:12 +0200
commitfb8d15836695e883355c5ec6ff8463e7bbf39461 (patch)
treedd6724e599362aa75638eb24d2aaae6a5b83adca /video/out
parent050c529e9a1e01adfa02eea1c52885c14367e180 (diff)
downloadmpv-fb8d15836695e883355c5ec6ff8463e7bbf39461.tar.bz2
mpv-fb8d15836695e883355c5ec6ff8463e7bbf39461.tar.xz
vo_opengl: make the size of interpolation textures exact
I still have no idea why this is needed, maybe some weird off-by-one in some shitty driver? Either way, the difference for a working setup shouldn't be too major, the most noticeable effect would be somewhat worse performance when resizing the video during playback with interpolation enabled using the mouse. That's a specific enough side effect for me to not care as much about it. Fixes #1814.
Diffstat (limited to 'video/out')
-rw-r--r--video/out/gl_video.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/gl_video.c b/video/out/gl_video.c
index 7ef697b42e..2f1686eda3 100644
--- a/video/out/gl_video.c
+++ b/video/out/gl_video.c
@@ -2078,7 +2078,7 @@ static void gl_video_interpolate_frame(struct gl_video *p, struct vo_frame *t,
gl_video_upload_image(p, t->current);
pass_render_frame(p);
finish_pass_fbo(p, &p->surfaces[p->surface_now].fbotex,
- vp_w, vp_h, 0, FBOTEX_FUZZY);
+ vp_w, vp_h, 0, 0);
p->surfaces[p->surface_now].pts = p->image.mpi->pts;
p->surface_idx = p->surface_now;
}
@@ -2139,7 +2139,7 @@ static void gl_video_interpolate_frame(struct gl_video *p, struct vo_frame *t,
gl_video_upload_image(p, f);
pass_render_frame(p);
finish_pass_fbo(p, &p->surfaces[surface_dst].fbotex,
- vp_w, vp_h, 0, FBOTEX_FUZZY);
+ vp_w, vp_h, 0, 0);
p->surfaces[surface_dst].pts = f->pts;
p->surface_idx = surface_dst;
surface_dst = fbosurface_wrap(surface_dst+1);