mirror of https://bitbucket.org/ausocean/av.git
main: actually used logger in driver for h264 file to flv rtmp
This commit is contained in:
parent
03eb68d774
commit
547e24da7d
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue