[Bug 779132] New: waylandsink: memory:DMABuf preferred in caps

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Feb 23 12:48:41 UTC 2017


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

            Bug ID: 779132
           Summary: waylandsink: memory:DMABuf preferred in caps
    Classification: Platform
           Product: GStreamer
           Version: 1.11.1
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: fabien.dessenne at st.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 346565
  --> https://bugzilla.gnome.org/attachment.cgi?id=346565&action=edit
waylandsink-memory-DMABuf-preferred-while-negotiation

waylandsink supports both SystemMemory buffers and DMABufMemory buffers. Both
are exposed in caps.
If we consider that DMABuf is an optimization, then it is better to have it
proposed with a higher priority (=before) than SystemMemory.

Instead of:
    video/x-raw, format=(string){ xxx }, ...; video/x-raw(memory:DMABuf),
format=(string){ xxx }, ...
Propose:
    video/x-raw(memory:DMABuf), format=(string){ xxx }, ...; video/x-raw,
format=(string){ xxx }, ...

Hence, when negotiating caps with a DMABuf-compatible upstream element, DMABuf
becomes the default choice.

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