If for any reason the my program crashes, I cannot run it again without getting the following error:
VIDIOC_STREAMON: Invalid argument
in an endless loop. I have tried to unload some kernel modules (such as ucvideo
) and reloading them again but it didn't help. The only solution is to restart the whole system. This is however not feasible. I would appreciate any comments.
I use OpenCV 2.4.8 on Ubuntu 13.10.