GNOME Bugzilla – Bug 728947
glcolorscale: only black frames on GLESv2
Last modified: 2014-04-30 16:39:02 UTC
Either on my laptop with GLESv2 or on RPI, I cannot find a pipeline where glcolorscale works. Ex: gst-launch-1.0 videotestsrc ! glcolorscale ! ximagesink gst-launch-1.0 videotestsrc ! glcolorscale ! "video/x-raw(meta:GstVideoGLTextureUploadMeta)" ! glimagesink For the download part I'm not sure it's implemented (should return a failure in this case instead of black frame), but at least glcolorscale ! glimagesink should work I have not tried on big GL.
The cause is that there is no shader in use when glcolorscale draws (and GLES2 requires that there be a shader to draw).
Ah right, it should have been not deployed for GLES2 ( http://cgit.freedesktop.org/gstreamer/gst-plugins-gl/commit/?id=a14d2a50b872a4a32e186431ba919f76bc8a4cd2 ) :)
commit 56cca649d4faa33f85c0b57c4ebfa936bf8ac8b7 Author: Julien Isorce <julien.isorce@collabora.co.uk> Date: Wed Apr 30 17:30:06 2014 +0100 glcolorscale: use a shader on GLESv2 Otherwise you only see black frames Fix https://bugzilla.gnome.org/show_bug.cgi?id=728947