omxvideoenc: implement decide_allocation
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 26 Apr 2018 10:30:47 +0000 (12:30 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Fri, 8 Jun 2018 07:53:01 +0000 (09:53 +0200)
commitc8969b0dbec565f388c35f6d5eb43bc463d6348a
tree19928770061371c6e80b7e4e57bc7de629f9980a
parent431eac07bffd7019fbbad0464b2a2df95d29ed66
omxvideoenc: implement decide_allocation

Increase the number of output buffers by the number of buffers requested
downstream.
Prevent buffers starvation if downstream is going to use dynamic buffer
mode on its input.

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