v4l2codecs: pool: Create new buffer when pool is empty
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Wed, 18 Mar 2020 21:03:51 +0000 (17:03 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 31 Mar 2020 13:34:05 +0000 (09:34 -0400)
commitbc0a8ff40d1a6955ea36cc76897af105c9181497
tree356a1bd86782a2522be92374246e78c59af49f3f
parentee26c9c9a1b9fc49194888df1182e9d93a4da5b2
v4l2codecs: pool: Create new buffer when pool is empty

This simply create an empty GstBuffer when the pool is empty. This way it's up
to the allocator to grow or wait if we ran out of memory.
sys/v4l2codecs/gstv4l2codecpool.c