v4l2: Let the bufferpool own the V4l2Object
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 12 Jul 2011 16:13:42 +0000 (18:13 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 12 Jul 2011 16:13:42 +0000 (18:13 +0200)
commit0dcf0aebb0a7107ba428b5d2130b3c3f53382207
treebf34404606ea8d3d306f782712a71553687471d7
parentf55656dcfc4febe9566dcffc5dc67d633f7ee8d5
v4l2: Let the bufferpool own the V4l2Object

Keep track of the currently configured format and setting in the
v4l2object.
Pass the v4l2object to the bufferpool constructor so that the bufferpool can
know everything about the currently configured settings. This also allows us
to remove some awkward code.
sys/v4l2/gstv4l2bufferpool.c
sys/v4l2/gstv4l2bufferpool.h
sys/v4l2/gstv4l2object.c
sys/v4l2/gstv4l2object.h
sys/v4l2/gstv4l2sink.c
sys/v4l2/v4l2src_calls.c