summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-05-05 14:41:33 +0200
committerwm4 <wm4@nowhere>2015-05-05 14:41:33 +0200
commitcf210c4ffc6d008dd2bdd7c5d4d031ecdcf05fb7 (patch)
tree30aaa250e07cf8577ae6f1f83e06ae36549b32e3 /video
parent22455b2961655d13af9e09897667b468c2ba6fbc (diff)
downloadmpv-cf210c4ffc6d008dd2bdd7c5d4d031ecdcf05fb7.tar.bz2
mpv-cf210c4ffc6d008dd2bdd7c5d4d031ecdcf05fb7.tar.xz
vo_opengl: change default FBO format
Reduces (but likely does not remove) the danger of rounding intermediate values down to 8 bit. This is important for cscale, or any other processing that might store raw YUV values in framebuffers. Fixes #1918.
Diffstat (limited to 'video')
-rw-r--r--video/out/gl_video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/gl_video.c b/video/out/gl_video.c
index b1976d6521..4ffb432372 100644
--- a/video/out/gl_video.c
+++ b/video/out/gl_video.c
@@ -321,7 +321,7 @@ const struct gl_video_opts gl_video_opts_def = {
.npot = 1,
.dither_depth = -1,
.dither_size = 6,
- .fbo_format = GL_RGBA,
+ .fbo_format = GL_RGBA16,
.sigmoid_center = 0.75,
.sigmoid_slope = 6.5,
.scaler = {