[Bug 733974] gstbufferpool::default_alloc_buffer does not fail if buffer allocation fails

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jul 30 06:52:23 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=733974
  GStreamer | gstreamer (core) | 1.4.0

Nicolas Dufresne <nicolas.dufresne> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|1.5.1                       |1.4.1

--- Comment #6 from Nicolas Dufresne <nicolas.dufresne at collabora.co.uk> 2014-07-30 13:52:19 UTC ---
In 1.4 now, thanks.

commit 57e3797e8891450bef6650862300ce688ee14ebd
Author: Mohammed Sameer <msameer at foolab.org>
Date:   Wed Jul 30 15:46:22 2014 +0300

    bufferpool: Add missing error checking to default_alloc_buffer()

    default_alloc_buffer() calls gst_buffer_new_allocate() but does not check
for
    failed allocation.

    This patch makes default_alloc_buffer() return an error (GST_FLOW_ERROR) if
    buffer allocation fails.

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

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