v4l2: keep a reference to all queued buffers
authorMichael Olbrich <m.olbrich@pengutronix.de>
Tue, 21 May 2013 10:02:51 +0000 (12:02 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 21 May 2013 14:44:58 +0000 (16:44 +0200)
commitf9cc655adf0ede6986d9dffd7cd172d9133a6ff3
tree9b849ae695085d6e888f8a31e8e3a55f0e15e34e
parenta1df0503568700f3261fa7e2ae80cac7bf4826d5
v4l2: keep a reference to all queued buffers

Without this, a queued buffer may be required, filled and queued before it
is dequeued.
Calling gst_buffer_pool_acquire_buffer() ensures that the buffer is set up
correctly and gst_buffer_unref() calls buffer_release().

https://bugzilla.gnome.org/show_bug.cgi?id=700781
sys/v4l2/gstv4l2bufferpool.c