Refactored code responsible for printing debug messages in DShow video capture module...
authorArtur Wieczorek <artwik@wp.pl>
Wed, 1 Oct 2014 12:45:34 +0000 (14:45 +0200)
committerArtur Wieczorek <artwik@wp.pl>
Fri, 10 Oct 2014 15:49:01 +0000 (17:49 +0200)
commitec93d103b72cb9437cce11e1b93a1522c710d70d
tree99ca2477ca06c5f9cc2dfbd42e74a7a1ed1f2351
parentc54928e003de51ae1c0b2a57c70f385f52c56495
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.
modules/videoio/src/cap_dshow.cpp