Commit 554e0051 authored by Alexander Reshetnikov's avatar Alexander Reshetnikov

Fixed error with color space switching for IEEE1394 cameras (patch #766)

parent 6d49b075
...@@ -387,6 +387,7 @@ bool CvCaptureCAM_DC1394_v2_CPP::startCapture() ...@@ -387,6 +387,7 @@ bool CvCaptureCAM_DC1394_v2_CPP::startCapture()
{ {
bestMode = mode; bestMode = mode;
pref = 1; pref = 1;
break;
} }
if (colorCoding == DC1394_COLOR_CODING_MONO8) if (colorCoding == DC1394_COLOR_CODING_MONO8)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment