After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 783085 - Need API to know allocated buffers from upstream
Need API to know allocated buffers from upstream
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-05-25 10:49 UTC by Guillaume Desmottes
Modified: 2018-11-03 12:41 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Guillaume Desmottes 2017-05-25 10:49:46 UTC
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?
Comment 1 GStreamer system administrator 2018-11-03 12:41:22 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/238.