From 554e0051e857af0acdd0c9029bc94f718c093f9a Mon Sep 17 00:00:00 2001 From: Alexander Reshetnikov Date: Thu, 29 Mar 2012 16:15:55 +0000 Subject: [PATCH] Fixed error with color space switching for IEEE1394 cameras (patch #766) --- modules/highgui/src/cap_dc1394_v2.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/highgui/src/cap_dc1394_v2.cpp b/modules/highgui/src/cap_dc1394_v2.cpp index a3bce0d0dd..ec60373731 100644 --- a/modules/highgui/src/cap_dc1394_v2.cpp +++ b/modules/highgui/src/cap_dc1394_v2.cpp @@ -387,6 +387,7 @@ bool CvCaptureCAM_DC1394_v2_CPP::startCapture() { bestMode = mode; pref = 1; + break; } if (colorCoding == DC1394_COLOR_CODING_MONO8)