[Bug 703764] New: v4l2: bufferpool: don't forget to release buffer on error

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Jul 7 23:28:31 PDT 2013


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

           Summary: v4l2: bufferpool: don't forget to release buffer on
                    error
    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=248574)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=248574)
patch

If the pool is stopped while gst_v4l2_buffer_pool_dqbuf() waits for a
buffer then the return value is GST_FLOW_FLUSHING. In this case the buffer
to queue must also be released. Otherwise is will never be deleted or
returned to its pool.

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