From 29fba4d0f06d8b14fb433f723888d79f6178257b Mon Sep 17 00:00:00 2001 From: Jari Vetoniemi Date: Mon, 23 Jan 2017 22:38:40 +0200 Subject: Use rgb0 as video type for ES so we ignore alpha --- glcapture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glcapture.c b/glcapture.c index a271f99..37f99eb 100644 --- a/glcapture.c +++ b/glcapture.c @@ -334,7 +334,7 @@ capture_frame_pbo(struct gl *gl, const GLint view[4], const uint64_t ts) } frame = { // XXX: Maybe on ES we should instead modify the data and remove A component? // Would save some transmission bandwidth at least - .video = (OPENGL_VARIANT == OPENGL_ES ? "rgba" : "rgb"), + .video = (OPENGL_VARIANT == OPENGL_ES ? "rgb0" : "rgb"), .format = (OPENGL_VARIANT == OPENGL_ES ? GL_RGBA : GL_RGB), .components = (OPENGL_VARIANT == OPENGL_ES ? 4 : 3), }; -- cgit v1.2.3