GstBufferPool support in gstomxvideoenc.c

Nicolas Dufresne nicolas at ndufresne.ca
Thu Dec 1 19:43:48 UTC 2016


Le jeudi 01 décembre 2016 à 10:16 -0800, Jeegar32 a écrit :
> Yes i am interested for output port of the encoder.

The output port of the encoder is encoded data. GstBufferPool is meant
for fixed sized buffers. This is not a good fit.

BufferPool is a good fit for the input port, since the data is raw and
fixed size. It is also the type of data that cost a lot of CPU to copy
as it's much larger.

Implementing a buffer pool around fixed set of buffers may introduce
certain difficulties. One thing you need to make sure is to never send
twice the same pool instance in propose_allocation() method.

good luck,
Nicolas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20161201/576c4382/attachment.sig>


More information about the gstreamer-devel mailing list