Merge pull request #14036 from jveitchmichaelis:Y16_v4l_fix

pull/13252/head
Alexander Alekhin 6 years ago
commit ea9a17ebc2
  1. 6
      modules/videoio/src/cap_v4l.cpp

@ -1803,9 +1803,11 @@ bool CvCaptureCAM_V4L::setProperty( int property_id, double _value )
if (bool(value)) {
convert_rgb = convertableToRgb();
return convert_rgb;
}else{
convert_rgb = false;
releaseFrame();
return true;
}
convert_rgb = false;
return true;
case cv::CAP_PROP_FOURCC:
{
if (palette == static_cast<__u32>(value))

Loading…
Cancel
Save