I'm working on camera using opencv 3.0.0 and C++ with Ubuntu 14.04 ,
When I run a program using the camera and stop it with Ctrl + C, I can't get it run for a second time and it gives me the following:
libv4l2: error turning on stream: Invalid argument VIDIOC_STREAMON: Invalid argument Cannot read a frame from video stream
I have tried
lsusb and the camera (it's built in in laptop not external) is not recognized. Also with cheeze it tells me that there is an error when trying to open the camera.
The only solution is to reboot the laptop.
Any suggestion will be appreciated :) thanks