mirror of https://bitbucket.org/ausocean/av.git
pls
This commit is contained in:
parent
efa02c3799
commit
f40d77ea48
|
@ -495,12 +495,8 @@ func (r *revidInst) setupInputForRaspivid() error {
|
|||
"-fps", r.config.FrameRate,
|
||||
)
|
||||
}
|
||||
stdout, err := r.cmd.StdoutPipe()
|
||||
if err != nil {
|
||||
r.Log(Error, err.Error())
|
||||
return err
|
||||
}
|
||||
err = r.cmd.Start()
|
||||
stdout, _ := r.cmd.StdoutPipe()
|
||||
err := r.cmd.Start()
|
||||
r.inputReader = bufio.NewReader(stdout)
|
||||
if err != nil {
|
||||
r.Log(Error, err.Error())
|
||||
|
|
Loading…
Reference in New Issue