GNOME Bugzilla – Bug 792584
glimagesink: RGB16 no longer works
Last modified: 2018-02-03 08:34:33 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)
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
Thanks.