[Bug 791211] omxvideodec/enc: update nBufferCountActual before allocating

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Dec 5 22:04:56 UTC 2017


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

Julien Isorce <julien.isorce at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |julien.isorce at gmail.com

--- Comment #9 from Julien Isorce <julien.isorce at gmail.com> ---
Unless I am mistaken, 1.1.2 spec says "no less than" and 1.2.0 spec says
"equal". So I think nBufferCountActual=2 >= nBufferCountMin=1 falls ok in the
1.1.2 requirements.

That said are you sure that it cannot work with one input buffer ? Maybe it is
just a limitation on how gst-omx uses omx. It is not optimal at all but I think
it should work with one buffer.

I think we should just set an optimal value. Value computed depending if the
pool is proposed to upstream element, if not it would depend on the size of the
coming buffer and the max size omx can allocate.

Thx for working on this !

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