[Bug 794817] msdk: enc: Add Dmabuf Import support

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Apr 24 23:25:18 UTC 2018


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

--- Comment #7 from sreerenj <bsreerenj at gmail.com> ---
(In reply to Guillaume Desmottes from comment #6)
> Our use case in gst-omx is to ensure that an input port has as many buffers
> allocated that the output of its upstream component (to prevent buffers
> starvation).
> 
> Here is what I have so far:
> https://gitlab.collabora.com/cassidy/gst-omx/commit/
> 58bf10b30c39bff0e0f8d1e59d086df459e8ba18
> 
> Basically I use a custom downstream event that an element can send once its
> buffers have been allocated. This event contains the pool (so you can fetch
> all the allocated fds for your use case) and the number of allocated buffers
> (to cover cases where upstream isn't using a pool and we are just interested
> in the number of buffers and not their content).
> 
> It's really a WIP experimentation patch so far. Nothing is set in the stone
> and I'm not even sure that's the proper way to fix my use case. I hope to
> find some time to resume this work soon.
> 
> Would this kind of event work for you as well?

I believe it should work with msdk use case too.

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