diff --git a/revid/config.go b/revid/config.go index 31a3d07d..673b51ad 100644 --- a/revid/config.go +++ b/revid/config.go @@ -462,7 +462,7 @@ func (c *Config) Validate() error { } if c.RTMPRBWriteTimeout <= 0 { - c.Logger.Log(logger.Info, pkg+"RTMPRBWriteTimeout bad or unset, defaulting", "RTMPRBWriteTimeout", defaultRTMPRBWriteTimeout) + c.Logger.Log(logger.Info, pkg+"RTMPRBWriteTimeout bad or unset, defaulting", "RTMPRBWriteTimeout", int(defaultRTMPRBWriteTimeout)) c.RTMPRBWriteTimeout = defaultRTMPRBWriteTimeout } @@ -477,7 +477,7 @@ func (c *Config) Validate() error { } if c.MTSRBWriteTimeout <= 0 { - c.Logger.Log(logger.Info, pkg+"MTSRBWriteTimeout bad or unset, defaulting", "MTSRBWriteTimeout", defaultMTSRBWriteTimeout) + c.Logger.Log(logger.Info, pkg+"MTSRBWriteTimeout bad or unset, defaulting", "MTSRBWriteTimeout", int(defaultMTSRBWriteTimeout)) c.MTSRBWriteTimeout = defaultMTSRBWriteTimeout }