v4l2bufferpool: return TRUE when buffer pool orphaning succeeds
authorDamian Hobson-Garcia <dhobsong@igel.co.jp>
Thu, 30 May 2019 02:13:07 +0000 (11:13 +0900)
committerTim-Philipp Müller <tim@centricular.com>
Wed, 7 Aug 2019 22:57:48 +0000 (23:57 +0100)
commit608a9dc177512300ba95ac0ec5c44dac03418894
treef11747fef519420e8e132499bab8d777fa6ed85b
parente49cbdb39e0684a0e6057bcab0b7cef0aca75749
v4l2bufferpool: return TRUE when buffer pool orphaning succeeds

When trying to orphan a buffer pool, successfully return and unref
the pool when the pool is either successfully stopped or orphaned.
Indicate failure and leave the pool untouched otherwise.
sys/v4l2/gstv4l2bufferpool.c