Fix crash if no camera available.
Merge pull request #3 from plu/no_camera

Fix crash if no camera available.