[gstreamer-bugs] [Bug 616237] New: Stop allocating buffers for any caps
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Apr 19 16:29:48 PDT 2010
https://bugzilla.gnome.org/show_bug.cgi?id=616237
GStreamer | gstreamer (core) | git
Summary: Stop allocating buffers for any caps
Classification: Desktop
Product: GStreamer
Version: git
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gstreamer (core)
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: otte at gnome.org
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME target: ---
GNOME version: ---
In various places - I've found GstBaseTransform's suggest feature and
gst_pad_buffer_alloc_unchecked() so far - GStreamer decides to allocate a
memory buffer as a fallback when calling the bufferalloc function failed.
This is bad for caps that require a GstBuffer subclass - such as video/x-raw-gl
and video/x-cairo. In fact, I believe gst-plugins-gl is currently broken as it
does not check buffers at all and assumes all buffers are GL buffers.
It is also not possible to work around this behavior as peer pads without
bufferalloc functions will always cause this to happen.
I'm filing this as I have no clue if and how to fix it. Currently I'm working
around this by manual checks, but that is ugly and required in a lot of places
when subclassing.
--
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