feat(ffmpeg): logging callback handler
This commit is contained in:
parent
f11d2b351c
commit
57541418b9
6 changed files with 71 additions and 1 deletions
11
ffmpeg/logging.h
Normal file
11
ffmpeg/logging.h
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#include <stdarg.h>
|
||||
|
||||
#define LINE_SZ 1024
|
||||
|
||||
extern void goAVLoggingHandler(int level, char *str);
|
||||
extern void av_log_set_callback(void (*callback)(void *, int, const char *, va_list));
|
||||
extern void av_log_format_line(void *ptr, int level, const char *fmt, va_list vl, char *line, int line_size, int *print_prefix);
|
||||
|
||||
void goavLogCallback(void *class_ptr, int level, const char *fmt, va_list vl);
|
||||
|
||||
void goavLogSetup();
|
||||
Loading…
Add table
Add a link
Reference in a new issue