summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-11-05 22:01:15 +0100
committerwm4 <wm4@nowhere>2013-11-05 22:05:23 +0100
commit91472b84c2bd5a4501d0c4ac801aefb24cd101ac (patch)
tree02c0e80903d45259cb4a9315ca23b2f2f31fa645 /video
parentd6de87d1d3aa4ecddf5a4e523c0410be2ab517aa (diff)
downloadmpv-91472b84c2bd5a4501d0c4ac801aefb24cd101ac.tar.bz2
mpv-91472b84c2bd5a4501d0c4ac801aefb24cd101ac.tar.xz
vo_opengl/vaapi: use IMGFMT_RGB0
More correct, might make things slightly faster (probably insignificant).
Diffstat (limited to 'video')
-rw-r--r--video/out/gl_hwdec_vaglx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/gl_hwdec_vaglx.c b/video/out/gl_hwdec_vaglx.c
index 9e1030fe49..fae066442c 100644
--- a/video/out/gl_hwdec_vaglx.c
+++ b/video/out/gl_hwdec_vaglx.c
@@ -79,7 +79,7 @@ static int create(struct gl_hwdec *hw)
return -1;
}
hw->info->vaapi_ctx = p->ctx;
- hw->converted_imgfmt = IMGFMT_RGBA;
+ hw->converted_imgfmt = IMGFMT_RGB0;
return 0;
}