GstBufferPool support in gstomxvideoenc.c

Sebastian Dröge sebastian at centricular.com
Thu Dec 1 18:08:29 UTC 2016


On Thu, 2016-12-01 at 08:49 -0800, Jeegar32 wrote:
> Hi All
> 
> In gst-omx for decoder
> (https://github.com/GStreamer/gst-omx/blob/master/omx/gstomxvideodec.
> c
> ) for o/p buffer there is support for GstBufferPool So OMX Buffer are
> wrapped in GstBuffer and passed to next element in pipeline. (No copy
> is
> happening)
> 
> But same support is missing in gst-omx for Encoder
> (https://github.com/GStreamer/gst-omx/blob/master/omx/gstomxvideoenc.
> c )
> Here for every output new GstBuffer with new Memory is created and
> OMX
> buffer is copied in this new GstBuffer and passed to next element in
> pipeline.
> 
> So is there any reason why this is not implemented? I am planning to
> implemented GstBufferPool support same as Decoder in encoder so is
> this feasible right? No design Prohibition right? 

Do you need the pool for the input or output port of the encoder?

In any case, it only wasn't implemented so far because nobody did it or
considered it important enough. Go for it :)

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20161201/d37a0bd2/attachment.sig>


More information about the gstreamer-devel mailing list