Debugging

The video capture API includes constants that specify the video capture debugging properties.

Definitions:

#define CAPTURE_PROPERTY_VERBOSITY CAPTURE_PROPERTY( 'Q', 'V', 'B', 'R' )

Log verbosity level.

Default is 0; increase this value to increase log verbosity for debugging.

Read/Write uint32_t

#define CAPTURE_PROPERTY_VERBOSITY_FILE CAPTURE_PROPERTY('Q','V','B','F')

File log messages are written to.

Default is stderr; A NULL pointer disables logging.

Read/Write FILE*

#define CAPTURE_PROPERTY_LOGMSG_PREFIX CAPTURE_PROPERTY('Q','L','M','P')

User-defined string that log messages will be prefixed with.

Read/Write char*