[Bug 783085] New: Need API to know allocated buffers from upstream
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu May 25 10:49:46 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=783085
Bug ID: 783085
Summary: Need API to know allocated buffers from upstream
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: enhancement
Priority: Normal
Component: gstreamer (core)
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: gdesmott at gnome.org
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
We are working on implementing DMA support in gst-omx. When acting as a DMA
importer, an element needs to know beforehand which buffers have been allocated
upstream so it can call OMX_UseBuffer() on each allocated buffer it's going to
use.
We currently solved this using a custom downstream event sent in
gst_v4l2src_decide_allocation() but it would be good to have a proper solution
for this.
We could add a "allocated-buffers" serialized downstream event which is sent
when buffers are (re)allocated before starting to use them.
It would include a GPtrArray of GstBuffers.
We should probably be clear in the doc on what can and cannot be done with
those buffers. Something like "Those buffers should not be modified in anyway."
Thoughts?
--
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