[bugfix] support classifying correct video codec without audio as webm (#3494)

* for webm support video:[vp8,vp9,av1] and audio:[NONE,vorbis,opus]

* improved unsupported data type error output
This commit is contained in:
kim 2024-10-28 13:09:21 +00:00 committed by GitHub
commit 7ec6509e11
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 28 additions and 11 deletions

View file

@ -158,7 +158,7 @@ func (p *ProcessingEmoji) store(ctx context.Context) error {
if err != nil && !isUnsupportedTypeErr(err) {
return gtserror.Newf("ffprobe error: %w", err)
} else if result == nil {
log.Warn(ctx, "unsupported data type")
log.Warnf(ctx, "unsupported data type by ffprobe: %v", err)
return nil
}