Fixed compilation errors in MSMF video capture module.
Close MSMF video device in a proper way.
Fixed changing video frame size for MSMF camera capture (fixed videoDevice::findType() and some related helper functions). Minor refactoring and optimization: removed unnecessary initializations, raw numbers replaced with symbolic constants.
Extended CvCaptureCAM_MSMF::setProperty()/getProperty() to handle frame rate (CV_CAP_PROP_FPS parameter).
Reduce footprint in MSMF video capture in the Release mode by refactoring code responsible for printing debug messages.