Merge pull request #13137 from alalek:videoio_v4l_disable_normalization

This commit is contained in:
Alexander Alekhin 2018-11-12 22:15:00 +03:00 committed by GitHub
commit 65fb8ae33e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -777,7 +777,7 @@ bool CvCaptureCAM_V4L::open(const char* _deviceName)
frame_allocated = false;
deviceName = _deviceName;
returnFrame = true;
normalizePropRange = utils::getConfigurationParameterBool("OPENCV_VIDEOIO_V4L_RANGE_NORMALIZED", true);
normalizePropRange = utils::getConfigurationParameterBool("OPENCV_VIDEOIO_V4L_RANGE_NORMALIZED", false);
channelNumber = -1;
bufferIndex = -1;