After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 728947 - glcolorscale: only black frames on GLESv2
glcolorscale: only black frames on GLESv2
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other All
: Normal normal
: 1.3.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-04-25 11:51 UTC by Julien Isorce
Modified: 2014-04-30 16:39 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Julien Isorce 2014-04-25 11:51:56 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.
Comment 1 Matthew Waters (ystreet00) 2014-04-27 13:21:59 UTC
The cause is that there is no shader in use when glcolorscale draws (and GLES2 requires that there be a shader to draw).
Comment 2 Julien Isorce 2014-04-28 09:18:41 UTC
Ah right, it should have been not deployed for GLES2 ( http://cgit.freedesktop.org/gstreamer/gst-plugins-gl/commit/?id=a14d2a50b872a4a32e186431ba919f76bc8a4cd2 )  :)
Comment 3 Julien Isorce 2014-04-30 16:39:02 UTC
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