omxbufferpool: fix dmabuf import
authorGuillaume Desmottes <guillaume.desmottes@collabora.com>
Wed, 21 Aug 2019 07:18:25 +0000 (12:48 +0530)
committerGuillaume Desmottes <guillaume.desmottes@collabora.com>
Mon, 2 Sep 2019 04:17:51 +0000 (09:47 +0530)
commit7cd929bc87b478b18f546c0b37b7315ea5e51ff4
treec841ef702251a8fd24dd89cb1ce40e0ecab17aa1
parent8d4d697a583eed52918b6ca70ba6b33672f94be0
omxbufferpool: fix dmabuf import

When importing dmabuf from downstream, we want the allocator to be in
OTHER_POOL mode despite output_mode being DMABUF.
So check first if other_pool is set before checking for pool's
output_mode.
omx/gstomxbufferpool.c