[Bug 699337] New: v4l2: fix and cleanup VIDIOC_EXPBUF handling

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Apr 30 08:58:21 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=699337
  GStreamer | gst-plugins-good | git

           Summary: v4l2: fix and cleanup VIDIOC_EXPBUF handling
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: m.olbrich at pengutronix.de
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=242947)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=242947)
patch

With this patch VIDIOC_EXPBUF actually works, or a correct warning is printed.
However the whole DMABUF code is currently broken.
V4L2_MEMORY_DMABUF is an alternative to V4L2_MEMORY_USERPTR that can be used to
queue other DMABUF file descriptors. To create new DMABUF file descriptors
V4L2_MEMORY_MMAP + VIDIOC_EXPBUF must be used. The two modes cannot be mixed.
Right now QBUF fails because the device is configured for MMAP and a DMABUF
buffer is queued.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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