omxvideodec: implement propose_allocation
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 26 Apr 2018 10:29:16 +0000 (12:29 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Fri, 8 Jun 2018 07:53:01 +0000 (09:53 +0200)
commit431eac07bffd7019fbbad0464b2a2df95d29ed66
treeae0d3197f6968aa206a19f1aca6b24d7cecedb8b
parent84483f3d7a0d826c4698a48362bad017a1f43388
omxvideodec: implement propose_allocation

Tell upstream about how many buffer we plan to use so they can adjust
their own number of buffers accordingly if needed.

Same logic as the existing gst_omx_video_enc_propose_allocation().

https://bugzilla.gnome.org/show_bug.cgi?id=795746
omx/gstomxvideodec.c