v4l2src: delay renegotiation until it is likely buffers were reclaimed
authorThiago Santos <thiagoss@osg.samsung.com>
Fri, 13 Mar 2015 18:48:03 +0000 (18:48 +0000)
committerThiago Santos <thiagoss@osg.samsung.com>
Fri, 13 Mar 2015 18:48:03 +0000 (18:48 +0000)
commit0a945e7099159950f5ff14b13f7545dc53d2a57c
treeb6d81863ae0ad6a28a86dde760d3f92e0d377b1b
parent6cfa6c0da84f98a2efd5349340abe8afb2ae85fc
v4l2src: delay renegotiation until it is likely buffers were reclaimed

Allow renegotiation to happen when buffers have returned after an allocation
query. As the allocation query is serialized, all buffers from the pool
should have returned and we can stop it to create a new one for the
new format

https://bugzilla.gnome.org/show_bug.cgi?id=682770
sys/v4l2/gstv4l2src.c
sys/v4l2/gstv4l2src.h