samples: videocapture_camera use VideoCapture with 0 index
authorAlexander Alekhin <alexander.alekhin@intel.com>
Tue, 3 Jul 2018 12:44:53 +0000 (15:44 +0300)
committerAlexander Alekhin <alexander.alekhin@intel.com>
Tue, 3 Jul 2018 12:44:53 +0000 (15:44 +0300)
commit203f95d3be6a490cc24ffe2933b3723d3ea718e9
tree384d342934695d39811f3bd1dcf594136af66af0
parent117e97adac3d14f1aab935e82c257694b520bd5b
samples: videocapture_camera use VideoCapture with 0 index

Not all backends support -1 index.
samples/cpp/videocapture_camera.cpp