[Bug 711498] New: [v4l2] remove link between v4l2object type and v4l2bufferpool when managing qbuf/dqbuf

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Nov 5 08:46:20 PST 2013


https://bugzilla.gnome.org/show_bug.cgi?id=711498
  GStreamer | gst-plugins-good | 1.x

           Summary: [v4l2] remove link between v4l2object type and
                    v4l2bufferpool when managing qbuf/dqbuf
    Classification: Platform
           Product: GStreamer
           Version: 1.x
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: benjamin.gaignard at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=259025)
 View: https://bugzilla.gnome.org/attachment.cgi?id=259025
 Review: https://bugzilla.gnome.org/review?bug=711498&attachment=259025

disentangle the link between v4l2object type and v4l2bufferpool

v4l2object type was used to know if the pool was for capture or not.
The assumption was that v4l2 device can only have one queue
but v4l2 video decoder/encoder device could have two queues.
The idea is to use the direction of the pad instead of v4l2object type 
to be more flexible.

Later a v4l2dec could take benefit of this to have 2 v4l2bufferpool, one for
sink pad to queue access units and an other to dequeue output frame.

I have only been able to test this patch with a webcam (v4l2src), tests with
v4l2sink are maybe needed.

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