feat(ffmpeg): logging callback handler
This commit is contained in:
parent
f11d2b351c
commit
57541418b9
6 changed files with 71 additions and 1 deletions
|
|
@ -52,3 +52,8 @@ func goInterrupt(opaque unsafe.Pointer) C.int {
|
|||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
//export goAVLoggingHandler
|
||||
func goAVLoggingHandler(level C.int, cstr *C.char) {
|
||||
log(AVLogLevel(level), C.GoString(cstr))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue