Worker: fix typo 'FFmepg' -> 'FFmpeg'

Just a logging message fix, no functional changes.
This commit is contained in:
Sybren A. Stüvel 2022-08-31 15:34:42 +02:00
parent e394e75f64
commit 6e401f882f
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ func findFFmpeg() {
case errors.Is(err, fs.ErrNotExist): case errors.Is(err, fs.ErrNotExist):
log.Warn().Msg("FFmpeg could not be found on this system, render jobs may not run correctly") log.Warn().Msg("FFmpeg could not be found on this system, render jobs may not run correctly")
case err != nil: case err != nil:
log.Warn().Err(err).Msg("there was an unexpected error finding FFmepg on this system, render jobs may not run correctly") log.Warn().Err(err).Msg("there was an unexpected error finding FFmpeg on this system, render jobs may not run correctly")
default: default:
log.Info().Str("path", result.Path).Str("version", result.Version).Msg("FFmpeg found on this system") log.Info().Str("path", result.Path).Str("version", result.Version).Msg("FFmpeg found on this system")
} }

View File

@ -168,7 +168,7 @@ func cmdFramesToVideoParams(logger zerolog.Logger, cmd api.Command) (CreateVideo
log.Warn().Msg("FFmpeg could not be found on this system, render jobs may not run correctly") log.Warn().Msg("FFmpeg could not be found on this system, render jobs may not run correctly")
return parameters, NewParameterInvalidError("exe", cmd, err.Error()) return parameters, NewParameterInvalidError("exe", cmd, err.Error())
case err != nil: case err != nil:
log.Warn().Err(err).Msg("there was an unexpected error finding FFmepg on this system, render jobs may not run correctly") log.Warn().Err(err).Msg("there was an unexpected error finding FFmpeg on this system, render jobs may not run correctly")
return parameters, NewParameterInvalidError("exe", cmd, err.Error()) return parameters, NewParameterInvalidError("exe", cmd, err.Error())
} }