main: actually used logger in driver for h264 file to flv rtmp

This commit is contained in:
saxon 2018-09-11 18:39:52 +09:30
parent 03eb68d774
commit 547e24da7d
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ func main() {
}
revidInst, err := revid.New(config, nil)
if err != nil {
log.Printf("Should not of have got an error!: %v\n", err.Error())
config.Logger.Log(smartlogger.Error, "Should not have got an error!: ", err.Error())
return
}
revidInst.Start()