[Bug 746399] New: glupload: Pretends to support all memory and video formats

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Mar 18 06:17:59 PDT 2015


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

            Bug ID: 746399
           Summary: glupload: Pretends to support all memory and video
                    formats
    Classification: Platform
           Product: GStreamer
           Version: 2.x
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: nicolas.dufresne at collabora.co.uk
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

The glupload element sets it's caps to video/x-raw(ANY). This is very wrong,
the uploader needs to be aware of the memory type (sysmem, DMABUF, EGL) in
order to perform the upload or texture mapping. Finally, it can only upload
from sysmem of format it knows about. Here's an example showing how badly this
fails:

gst-launch-1.0 videotestsrc ! video/x-raw,format=NV12_64Z32 ! glupload !
fakesink
Définition du pipeline à PAUSED...
Le pipeline est en phase de PREROLL...
Got context from element 'gluploadelement0': gst.gl.GLDisplay=context,
gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayX11\)\ gldisplayx11-0";
**
ERROR:gstglmemory.c:272:gst_gl_texture_type_from_format: code should not be
reached
Abandon (core dumped)

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