wrong property requested to direct show camera driver (Bug #1993)


Added by Costantino Scozzafava almost 13 years ago. Updated over 12 years ago.


Status:Done Start date:2012-05-28
Priority:Low Due date:
Assignee:Andrey Kamaev % Done:

0%

Category:highgui-camera
Target version:2.4.1 Estimated time:0.00 hour
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

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

Revision c492dc6a
Added by Andrey Kamaev almost 13 years ago

Fixed property names in cap_dshow #1993

Revision 0cf76073
Added by Roman Donchenko about 11 years ago

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

Also available in: Atom PDF