mirror of https://bitbucket.org/ausocean/av.git
revid: fix logging for completed stream with error
This commit is contained in:
parent
81997cd68e
commit
4f5a47b1e5
|
@ -464,11 +464,8 @@ func (r *Revid) startRaspivid() error {
|
|||
|
||||
r.config.Logger.Log(smartlogger.Info, pkg+"reading camera data")
|
||||
err = r.lexTo(r.encoder, stdout, delay)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
r.config.Logger.Log(smartlogger.Info, pkg+"not trying to read from camera anymore")
|
||||
return nil
|
||||
r.config.Logger.Log(smartlogger.Info, pkg+"finished reading camera data")
|
||||
return err
|
||||
}
|
||||
|
||||
// setupInputForFile sets things up for getting input from a file
|
||||
|
|
Loading…
Reference in New Issue