test: ffmpeg meta and export golden tests

This commit is contained in:
Adrian Shum 2022-09-16 01:37:55 +08:00 committed by GitHub
parent feb4a1f3db
commit bb48a1e717
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 52 additions and 34 deletions

View file

@ -27,10 +27,6 @@ var (
onceLogging sync.Once
)
func logLevel() AVLogLevel {
return AVLogLevel(C.av_log_get_level())
}
// SetFFmpegLogLevel allows you to change the log level from the default (AVLogInfo).
func SetFFmpegLogLevel(logLevel AVLogLevel) {
C.av_log_set_level(C.int(logLevel))