[opencv_videoio] [cap_dshow] Does not compile on Windows using MinGW in Debug (Bugfix #3952)
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
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!