wrong property requested to direct show camera driver (Bug #1993)
Description
In the function double CvCaptureCAM_DShow::getProperty( int property_id ) (capd_show.cpp, line 3266) a wrong property identifier is passed
case CV_CAP_PROP_ZOOM:
if(VI.getVideoSettingCamera(index,VI.getCameraPropertyFromCV(CV_CAP_PROP_BACKLIGHT),min_value,max_value,stepping_delta,current_value,flags,defaultValue) ) return (double)current_value;
Associated revisions
Fixed property names in cap_dshow #1993
Merge pull request #1993 from StevenPuttemans:feature_2862
History
Updated by Andrey Kamaev almost 13 years ago
Thanks for the report!
get/setProperties methods for directshow should be fixed in trunk now.
- Status changed from Open to Done
- Target version set to 2.4.1
- Description changed from In the function double CvCaptureCAM_DShow::getProperty( int property_id ) (... to In the function double CvCaptureCAM_DShow::getProperty( int property_id ) (ca... More
- Assignee changed from Alexander Reshetnikov to Andrey Kamaev
Updated by Andrey Kamaev over 12 years ago
- Category changed from highgui-images to highgui-camera