omxbufferpool: deallocate OMX buffers when stopping
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 28 May 2018 10:20:45 +0000 (12:20 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 30 Aug 2018 08:59:30 +0000 (10:59 +0200)
commit7b6be347a6dc94c0ca16272fa249bc77b68f43ee
treef0708dc76d7e0fd04eb0d10b697cbb6c17885841
parentd2f7e21ab9be7f3d543a50b6cbac6dffca33384a
omxbufferpool: deallocate OMX buffers when stopping

The pool is stopped when all the buffers have been released. Deallocate
when stopping so we are sure that the buffers aren't still used by
another element.

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