v4l2: Fix sink bufferpool handling
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 19 Jul 2011 15:59:55 +0000 (16:59 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 19 Jul 2011 15:59:55 +0000 (16:59 +0100)
commit87d9a57aba4a07f0a0099b60cec735b572f0ff02
tree3c0ced80c582576ef4924e5f1a638d56d493d4b4
parent55eb26f1e7db93868795cc6769cab27ea9f62b34
v4l2: Fix sink bufferpool handling

Remove old method, use neww _process method for the sink.
Inform the parent bufferpool class about the settings too. This is needed to let
it know about the max-buffers.
Allocate the negotiated max-buffers and initially mmap min-buffers. The idea is
that the bufferpool will allocate more when needed.
Improve debugging.
Only poll in capture mode, it does not seem to work in playback mode on this
beagleboard.
sys/v4l2/gstv4l2bufferpool.c
sys/v4l2/gstv4l2object.c
sys/v4l2/gstv4l2object.h
sys/v4l2/gstv4l2sink.c