v4l2codecs: Wait for buffers to come back
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Fri, 20 Mar 2020 16:37:41 +0000 (12:37 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 31 Mar 2020 13:34:05 +0000 (09:34 -0400)
commite70993bf4305652bb39e58fa0448c2ca78e617e9
tree63e01bd703fbd331c28b3d38739c6979f1be6c36
parent09a9ffcda6822929b6f34a34fbb56b245694c1a8
v4l2codecs: Wait for buffers to come back

This code add required mechanism to try and allocate (not implemented yet)
otherwise wait for more buffers. This also comes with mechanism to terminate
the wait on flush or PAUSED_TO_READY transitions.
sys/v4l2codecs/gstv4l2codech264dec.c
sys/v4l2codecs/gstv4l2codecpool.c
sys/v4l2codecs/gstv4l2decoder.c