v4l2: activate the pool in fallback
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 4 Aug 2011 11:50:01 +0000 (12:50 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 4 Aug 2011 11:56:47 +0000 (12:56 +0100)
commitadd1cbdbd81e02caecc56a04d3d1c69b7be7a13d
treeaa75629619204321d93bad9398e5795148cfbddc
parentedcaf2066716f629221e1c6d8008e069b63dae9d
v4l2: activate the pool in fallback

When nobody is using our pool, activate it ourselves.
Avoid leaking the buffer array.
Set default pool configuration with caps.
Don't keep current_caps, core does that for us now.
sys/v4l2/gstv4l2bufferpool.c
sys/v4l2/gstv4l2bufferpool.h
sys/v4l2/gstv4l2object.c
sys/v4l2/gstv4l2object.h
sys/v4l2/gstv4l2sink.c
sys/v4l2/gstv4l2sink.h
sys/v4l2/gstv4l2src.c