mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 15:53:03 +04:00
Change decimation enum values so they can be used in resolution calculations.
BUGFIX: Fixed bugged when setting PVAPI property CV_CAP_PROP_FRAME_HEIGHT.
This commit is contained in:
@@ -349,7 +349,7 @@ bool CvCaptureCAM_PvAPI::setProperty( int property_id, double value )
|
||||
stopCapture();
|
||||
|
||||
// Reallocate Frames
|
||||
if (!resizeCaptureFrame(value, currWidth))
|
||||
if (!resizeCaptureFrame(currWidth, value))
|
||||
{
|
||||
startCapture();
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user