Debugging

Updated: October 26, 2022

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*

#define CAPTURE_PROPERTY_DEBUG_ENABLE CAPTURE_PROPERTY('Q','D','B','G')

Enable(1) or disable(0) debug.

Default is 0.

Read/Write uint32_t