test(imagorvideo): fallback image tests
This commit is contained in:
parent
d9c697a0b2
commit
035cf78b96
8 changed files with 47 additions and 14 deletions
|
|
@ -31,6 +31,7 @@ func TestAVContext(t *testing.T) {
|
|||
SetFFmpegLogLevel(AVLogDebug)
|
||||
logger := zap.NewExample()
|
||||
SetLogging(nil)
|
||||
log(AVLogDebug, "nop logging")
|
||||
SetLogging(func(level AVLogLevel, message string) {
|
||||
message = strings.TrimSuffix(message, "\n")
|
||||
switch level {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue