[Bug 764361] New: Proposed change: Let gdpdepay query for buffer allocator
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Mar 30 11:33:09 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=764361
Bug ID: 764361
Summary: Proposed change: Let gdpdepay query for buffer
allocator
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-bad
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: christsn.gs at gmail.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 325004
--> https://bugzilla.gnome.org/attachment.cgi?id=325004&action=edit
Patch where gdpdepay query for buffer allocator before using default
If an other element downstreams has it own allocator, the buffer created with
gst_dp_buffer_from_header appears to be allocated twice. One time using the
default allocator in gdpdepay, and one in the downstream element with its
allocator.
Perhaps this is the intended behavior, but if not, would like to propose a
change to the gdpdepay element where it tries to query for an potential
allocator different from the default, and use that one if it exists. Otherwise
use the default allocator.
Attached a patch with a suggestion on how this can be done, but don't know if
that is the correct way of doing it.
--
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