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 792584 - glimagesink: RGB16 no longer works
glimagesink: RGB16 no longer works
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal normal
: 1.13.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-01-16 17:28 UTC by Nicolas Dufresne (ndufresne)
Modified: 2018-02-03 08:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Nicolas Dufresne (ndufresne) 2018-01-16 17:28:28 UTC
I just randomly stumble across that RGB16 no longer works:

  gst-launch-1.0 videotestsrc ! video/x-raw,format=RGB16 ! glimagesink

With OpenGL 3+ we get this error, with other API I just see black:

GL error from API id:7, GL_INVALID_OPERATION in glTexSubImage2D(incompatible format = GL_RGB565, type = GL_UNSIGNED_SHORT_5_6_5)
Comment 1 Matthew Waters (ystreet00) 2018-02-01 12:31:59 UTC
commit e620cf32cfa2ab8f500e51a0641cb721d6f111b0
Author: Matthew Waters <matthew@centricular.com>
Date:   Wed Jan 17 15:24:20 2018 +1100

    glmemory: fixup GL_RGB565 usage when performing texsubimage
    
    An additional change for the texsubimage use case on top of
    https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=c2b2c68beaddbea0ec4fe7b099507cc492f6dd7c
    https://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=ea6bed111bab9b394d787f7760c6a3b953630d3a
    
    https://bugzilla.gnome.org/show_bug.cgi?id=783066
    https://bugzilla.gnome.org/show_bug.cgi?id=792584
Comment 2 Nicolas Dufresne (ndufresne) 2018-02-03 08:34:33 UTC
Thanks.