[Bug 784210] gl: [regression] GstGLUploadMeta feature doesn't show frame in GLX
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Jun 27 07:52:26 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=784210
--- Comment #5 from Matthew Waters (ystreet00) <ystreet00 at gmail.com> ---
(In reply to Hyunjun Ko from comment #4)
> (In reply to Matthew Waters (ystreet00) from comment #3)
> > Actually, this may be a gstgl bug. The default for glDrawBuffer is GL_BACK
> > or GL_COLOR_ATTACHMENT0 depending on if a framebuffer is current or not.
> > Does changing the enum to glDrawBuffer fix this?
>
> Yes, it fixes it by chaning either GL_BACK or GL_COLOR_ATTACHMENT0 :)
Ok, then that is the correct approach for that. Do you want to provide a patch?
I think there are a few other cases where this happens that you may as well fix
too.
The draw buffer should reset to GL_BACK if there is no framebuffer bound and
GL_COLOR_ATTACHMENT0 if there is a framebuffer bound.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list