[opencv_videoio] [cap_dshow] Does not compile on Windows using MinGW in Debug (Bugfix #3952)


Added by Philippe FOUBERT over 10 years ago. Updated over 10 years ago.


Status:Done Start date:2014-10-12
Priority:Normal Due date:
Assignee:Vadim Pisarevsky % Done:

0%

Category:imgproc, video
Target version:-
Affected version:branch 'master' (3.0-dev) Operating System:Windows
Difficulty: HW Platform:x64
Pull request:

Description

After the modification done by Artur on 01/10/2014 at 14:45
* Refactored code responsible for printing debug messages in DShow video capture module to reduce footprint in Release mode.
Replace printf function used for diagnostic purposes with dedicated DebugPrintOut function to output debug messages. This function is effective only in Debug mode and its body becomes empty in Release mode to reduce footprint.
,

opencv\modules\videoio\src\cap_dshow.cpp does not compile anymore on Windows using MinGW in Debug since StringCbVPrintfA is not defined. We should include <strsafe.h>.


Associated revisions

Revision dcf177e3
Added by Vadim Pisarevsky almost 10 years ago

Merge pull request #3952 from vpisarev:fix_libav_case

History

Updated by Artur Wieczorek over 10 years ago

Hopefully fixed in PR3349

  • Status changed from New to Done

Updated by Steven Puttemans over 10 years ago

Thank you for the fix!

Also available in: Atom PDF