Fixed camera_capture() so that the type of capture is checked before taking a picture.
Fixed camera_capture() so that the type of capture is checked before taking
a picture.

Removed a lot of shutgun debugging code (debugging across dynamic libraries
is hard).

Removed or reduced a lot of sleep() calls.


git-svn-id: 40dd595c6684d839db675001a64203a1457e7319@1234 67ed7778-7388-44ab-90cf-0a291f65f57c

msmeissn/libgphoto2,gphoto/libgphoto2,thusoy/libgphoto2,thusoy/libgphoto2,msmeissn/libgphoto2,msmeissn/libgphoto2,gphoto/libgphoto2,jbreeden/libgphoto2,jbreeden/libgphoto2,thusoy/libgphoto2,thusoy/libgphoto2,gphoto/libgphoto2,gphoto/libgphoto2,jbreeden/libgphoto2,gphoto/libgphoto2,jbreeden/libgphoto2,msmeissn/libgphoto2,msmeissn/libgphoto2,gphoto/libgphoto2,thusoy/libgphoto2,jbreeden/libgphoto2