ffmpeg: Changes to resource type detection.

Now the abscence of any protocol implies a file.
If a protocol is present then we presume a stream.
Unless the protocol is 'dshow' in which case we presume a camera.
Merge branch 'usbcam' into build-cp