[Bug 754786] vtdec: fails on OSX with GL3 context

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Sep 16 00:50:59 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=754786

Matthew Waters <ystreet00 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ystreet00 at gmail.com

--- Comment #1 from Matthew Waters <ystreet00 at gmail.com> ---
It seems like there's some slight incompatibility between gstgl, multiple
contexts, CAOpenGLLayer with GL3 and vtdec.  Running the vtdec ! glimagesink
pipeline through a GL tracer for both opengl and opengl3 reveals some
interesting things.

opengl
- Uses GL_ARB_fragment_program to convert the vtdec provided buffer into RGBA.
- Invokes a call to CGLTexImageIOSurface2D with a width argument of 160.
- GL_APPLE_ycbcr_422 GL extension exists.
- GL_APPLE_rgb_422 GL extension exists.

opengl3
- Uses a number of regular shaders depending on the source format.
- Invokes a call to CGLTexImageIOSurface2D with a width argument of 320 (may be
a problem).
- There's a GL Invalid Enum Error due to a call to glGetIntegerv(GL_MAP_COLOR,
...)
- GL_APPLE_ycbcr_422 GL extension does not exist (may be a problem).
- GL_APPLE_rgb_422 GL extension exists.
- Running in a GL tracer segfaults

Effectively the code paths used for opengl vs opengl3 are very different in
terms of vtdec converting to a RGBA texture.

I tried to create another conversion shader for these differences but have not
been successful.

Proposal, for the release, disable the GL path for GL3.

-- 
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