omxbufferpool: reference the OMX component
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 24 Jul 2018 13:14:31 +0000 (15:14 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 30 Aug 2018 08:59:30 +0000 (10:59 +0200)
commit86a6703d918e932ef9bd3d0618fd7d5e52e3a94d
tree4e2681772083796d457d0a5654edffd10538e041
parent8efa0951ffed6953e52735162f09ab09fb116a3b
omxbufferpool: reference the OMX component

Now that the pool is responsible of freeing the OMX buffers, we need to
ensure that the OMX component stay alive while the pool is as we rely on
the component to free the buffers.
The GstOMXPort is owned by the component so no need to ref this one.

https://bugzilla.gnome.org/show_bug.cgi?id=796918
omx/gstomxbufferpool.c