cheese-camera: Stop camera before setting autofocus
authorLuciana Fujii Pontello <luciana.fujii@collabora.co.uk>
Tue, 7 Jun 2011 22:49:26 +0000 (19:49 -0300)
committerLuciana Fujii Pontello <luciana.fujii@collabora.co.uk>
Tue, 7 Jun 2011 22:49:26 +0000 (19:49 -0300)
commite93fb032c492eb7368acf9da8d6d08d2928e1d06
tree6619c2237c1a8bf1594ed01337ee0c45f6141a4d
parent906f6b8449aeb980bcbdc935a5fc8db5a246b99c
cheese-camera: Stop camera before setting autofocus

Autofocus status cannot be set while playing or it generates an error.
Before setting autofocus property we stop the camera if it was playing
and set it back to playing later.
libcheese/cheese-camera.c