Videos: Log original file name if transcoding failed #1337
This commit is contained in:
parent
479e26dccb
commit
fce13182e6
1 changed files with 1 additions and 1 deletions
|
@ -467,7 +467,7 @@ func (c *Convert) ToAvc(f *MediaFile, encoderName string) (file *MediaFile, err
|
|||
}
|
||||
|
||||
// Log filename and transcoding time.
|
||||
log.Warnf("%s: failed transcoding %s [%s]", encoderName, filepath.Base(avcName), time.Since(start))
|
||||
log.Warnf("%s: failed transcoding %s [%s]", encoderName, fileName, time.Since(start))
|
||||
|
||||
if encoderName != DefaultAvcEncoder {
|
||||
return c.ToAvc(f, DefaultAvcEncoder)
|
||||
|
|
Loading…
Reference in a new issue