v4l2sink: handle pools
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 11 Jul 2011 11:51:52 +0000 (13:51 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 11 Jul 2011 11:51:52 +0000 (13:51 +0200)
commite9d80b9f14cdcb42008f982502f7e6eec9f2ee26
tree366b4b1407fe234930dd48bf2d14f02a52dffdad
parent851f550003dd18108dbed9482f66753961b3bba5
v4l2sink: handle pools

Create a new pool in setcaps and stop/destroy the old one.
Remove buffer_alloc functions.
Check that we have v4l2 metadata in show_frame and fall back to memcpy into a
buffer from our pool if we don't receive one of our own buffers.
sys/v4l2/gstv4l2sink.c