omxvideoenc: pass padding requirements to ALLOCATION query
authorGuillaume Desmottes <guillaume.desmottes@collabora.com>
Wed, 15 May 2019 12:04:47 +0000 (14:04 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.com>
Tue, 5 Nov 2019 12:00:21 +0000 (17:30 +0530)
commit2939a46dd26c7562a108bf050413c875536df346
treee9ddfed390eeea43d801bf82b8281c4fe6397dd1
parent800cc4bd6710b60da09982d1efdfde2613d950a9
omxvideoenc: pass padding requirements to ALLOCATION query

By passing the expected video buffer layout, the upstream producer
may be able to produce buffers fitting those requierements allowing
gst-omx to use dynamic buffer mode rather than having to copy each input
buffer.

This is particularly useful with v4l2src as it can request the capture
driver to produce buffers with the required paddings.
omx/gstomxvideoenc.c