[Bug 791338] New: v4l2videoenc: calling S_FMT after REQBUFS fails

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Dec 7 12:27:12 UTC 2017


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

            Bug ID: 791338
           Summary: v4l2videoenc: calling S_FMT after REQBUFS fails
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: p.zabel at pengutronix.de
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

S_FMT may return -EBUSY if buffers are already allocated with REQBUFS.
Some drivers return -EBUSY on S_FMT if buffers are allocated [1].
This can cause negotiation to fail when the capture pool is activated too
early.
The attached patch stops activating the pool during negotiation and instead
defers the pool activation until the first frame arrives.

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