camerabin2: Update v4l2camerasrc to use start/stop signals
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Tue, 30 Nov 2010 12:28:50 +0000 (09:28 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>
Wed, 8 Dec 2010 18:38:28 +0000 (15:38 -0300)
commitbd89d22da93388b952669ba5e9e1f21a7b443e56
treeff04bd01364b49affd3b27fbb9297c1a8b626824
parentb4d73cb9a87860488d0a46ac57eda1f96b7f0a35
camerabin2: Update v4l2camerasrc to use start/stop signals

Removes the old logic for v4l2camerasrc that used the mode
property switching to start/stop captures to make it identical
to camerabin2 behavior and to allow the future addition of
pausing a video recording.

This also removes the MODE_PREVIEW as it became useless.
gst/camerabin2/gstcamerabin-enum.c
gst/camerabin2/gstcamerabin-enum.h
gst/camerabin2/gstcamerabin2.c
gst/camerabin2/gstcamerabin2.h
gst/camerabin2/gstv4l2camerasrc.c
gst/camerabin2/gstv4l2camerasrc.h