v4l2camerasrc: Add ready-for-capture property
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Tue, 30 Nov 2010 14:06:33 +0000 (11:06 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>
Wed, 8 Dec 2010 18:38:28 +0000 (15:38 -0300)
commit5be441adff6459ce2567751ec438156babc68782
tree04b91e4bae828ef1cab0634f89114b8d46584f90
parentbd89d22da93388b952669ba5e9e1f21a7b443e56
v4l2camerasrc: Add ready-for-capture property

Adds property that informs if v4l2camerasrc is available
for starting a new capture.

It is useful for applications to know (via deep-notify) when the
property changes and a new capture is possible. Note, however, that
starting a new capture from the notify callback will cause a deadlock.
gst/camerabin2/gstcamerabin-enum.h
gst/camerabin2/gstv4l2camerasrc.c