mirror of
https://git.um-react.app/um/cli.git
synced 2026-11-26 15:17:00 +00:00
fix #78: skip parsing cover art if image is unsupported
This commit is contained in:
1 parent
f753b9c67d
commit
6493b2c5fc
3 files changed
+23
-18
No files matched your search
+1
-1
@@ -428,7 +428,7 @@ func (p *processor) process(inputFile string, allDec []common.DecoderFactory) er
|
||||
ctx, cancel := context.WithTimeout(context.Background(), time.Minute)
|
||||
defer cancel()
|
||||
|
||||
if err := ffmpeg.UpdateMeta(ctx, outPath, params); err != nil {
|
||||
if err := ffmpeg.UpdateMeta(ctx, outPath, params, logger); err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user