mirror of
https://github.com/opencv/opencv.git
synced 2025-06-08 01:53:19 +08:00
Merge pull request #14036 from jveitchmichaelis:Y16_v4l_fix
This commit is contained in:
commit
ea9a17ebc2
@ -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…
Reference in New Issue
Block a user