Camera Camera Error

I recently flashed cm10.2.1 with twrp 2.6.3.4 and gapps-jb-20130813. When launching my camera I get this error(Camera Error, Can't connect to camera. Can anyone shed some light on how I can fix this issue?