[Bug 769210] New: GLMemory created by avfvideosrc and vtdec on iOS (EAGL/gles3) can't be mapped

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Jul 27 06:44:07 UTC 2016


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

            Bug ID: 769210
           Summary: GLMemory created by avfvideosrc and vtdec on iOS
                    (EAGL/gles3) can't be mapped
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Mac OS
            Status: NEW
          Severity: blocker
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: alessandro.d at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

We recently switched gstgl to gles3 on iOS (5592a966). As part of this we also
changed the textures we output from avfvideosrc and vtdec to L/LA from R/RG
(9a325f4) since when using the gles3 driver R/RG is not supported anymore in
AVF/VT, which makes little sense but it's how it is. 

One side effect of this is that when doing GLMemory, now buffers can't be
mapped to main memory anymore. gst_gl_memory_read_pixels fails in
glFramebufferTexture2D with GL_FRAMEBUFFER_UNSUPPORTED.

The long term solution to this is to use GstIOSurfaceMemory on ios as we do
macos. IOSurface is still a private framework on iOS tho so we need an ad
interim solution.

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