GNOME Bugzilla – Bug 782917
qmlglsink: Add dummy black texture as placeholder for NULL buffers
Last modified: 2017-05-21 14:54:45 UTC
Currently, the GstQSGTexture bind() function doesn't really do anything if a null GstBuffer pointer is supplied. This results in some random pixels being shown, because an invalid texture is used in the QSGNode. Fix this by binding an internal dummy black 64x64 RGBA texture if the GstBuffer pointer is NULL.
Created attachment 352275 [details] [review] qmlglsink dummy black texture patch Here is a patch for introducing this dummy texture.
commit f191bf0c116b3b014919e7207384af47c9882da2 Author: Carlos Rafael Giani <dv@pseudoterminal.org> Date: Sun May 21 15:26:12 2017 +0200 qmlglsink: Add dummy texture that is shown as placeholder for NULL buffers https://bugzilla.gnome.org/show_bug.cgi?id=782917