add -d 1 option: suppress audio-video packet data in debug output

This commit is contained in:
F. Duncanh
2025-02-20 02:15:14 -05:00
parent c864b46981
commit 890948bf3d
8 changed files with 39 additions and 16 deletions

View File

@@ -31,6 +31,7 @@ extern "C" {
#define LOGGER_NOTICE 5 /* normal but significant condition */
#define LOGGER_INFO 6 /* informational */
#define LOGGER_DEBUG 7 /* debug-level messages */
#define LOGGER_DEBUG_DATA 8 /* debug-level messages including audio/video packet data */
typedef void (*logger_callback_t)(void *cls, int level, const char *msg);