v4l2sink: rework the buffer pool code
authorAlessandro Decina <alessandro.decina@collabora.co.uk>
Wed, 16 Nov 2011 16:27:12 +0000 (17:27 +0100)
committerAlessandro Decina <alessandro.decina@collabora.co.uk>
Wed, 16 Nov 2011 16:27:12 +0000 (17:27 +0100)
commit6615299add7487b11424d1f6d0cbf1073c89b3fe
tree117e8f5bec4761300b05105309a97f3f257c71ff
parent6198cebd5906fcefe4ec6be835a9bfc8a9e65d9e
v4l2sink: rework the buffer pool code

Rework the buffer pool code so that we can support stream resolution changes at
runtime. Also fix a nasty race condition with the pool being destroyed going to
READY and upstram still accessing buffers from the pool.
sys/v4l2/gstv4l2bufferpool.c
sys/v4l2/gstv4l2bufferpool.h
sys/v4l2/gstv4l2sink.c