v4l2: Let the device object manage the pool
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 13 Jul 2011 14:33:58 +0000 (16:33 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 13 Jul 2011 14:33:58 +0000 (16:33 +0200)
commitd9e61954a1cc098813e61e0e6dcce453870cdb2b
tree14b808c0eddfdf227ac82ab04be7de2f14a9b192
parent398001f20d0efc47dcaeea62993d6d73b1f5d1f0
v4l2: Let the device object manage the pool

Rename start and stop methods to open and close because that is what they do.
After setting the format on the device object, setup the bufferpools. Move this
code from the v4l2src_calls.c file, it is shared between source and sink.
Make new device start and stop method that merges various bits of common code
spread over several files.
sys/v4l2/gstv4l2bufferpool.h
sys/v4l2/gstv4l2object.c
sys/v4l2/gstv4l2object.h
sys/v4l2/gstv4l2radio.c
sys/v4l2/gstv4l2sink.c
sys/v4l2/gstv4l2sink.h
sys/v4l2/gstv4l2src.c
sys/v4l2/gstv4l2src.h
sys/v4l2/v4l2src_calls.c
sys/v4l2/v4l2src_calls.h