if ((int)width == frameWidth || (int)height == frameHeight)
{
if (colorCoding == DC1394_COLOR_CODING_RGB8 ||
- colorCoding == DC1394_COLOR_CODING_RGB16 ||
- colorCoding == DC1394_COLOR_CODING_RAW8 ||
- colorCoding == DC1394_COLOR_CODING_RAW16)
+ colorCoding == DC1394_COLOR_CODING_RAW8)
{
bestMode = mode;
break;
pref = 1;
}
- if (colorCoding == DC1394_COLOR_CODING_MONO8 ||
- (colorCoding == DC1394_COLOR_CODING_MONO16 &&
- pref < 0))
+ if (colorCoding == DC1394_COLOR_CODING_MONO8)
{
bestMode = mode;
pref = 0;