mirror of https://bitbucket.org/ausocean/av.git
fixing some more errors
This commit is contained in:
parent
40c0989fc1
commit
3c0b507bd1
|
@ -546,16 +546,16 @@ func (r *revid) setupInputForRaspivid() error {
|
|||
}
|
||||
|
||||
if r.config.QuantizationMode == QuantizationOn{
|
||||
append(arguments,"-qp")
|
||||
append(arguments,r.config.Quantization);
|
||||
arguments = append(arguments,"-qp")
|
||||
arguments = append(arguments,r.config.Quantization);
|
||||
}
|
||||
|
||||
if r.config.HorizontalFlip == Yes {
|
||||
append(arguments, "-hf")
|
||||
arguments = append(arguments, "-hf")
|
||||
}
|
||||
|
||||
if r.config.VerticalFlip == Yes {
|
||||
append(arguments, "-vf")
|
||||
arguments = append(arguments, "-vf")
|
||||
}
|
||||
|
||||
r.cmd = &Cmd{
|
||||
|
@ -564,9 +564,9 @@ func (r *revid) setupInputForRaspivid() error {
|
|||
}
|
||||
if filepath.Base(name) == name {
|
||||
if lp, err := LookPath(name); err != nil {
|
||||
cmd.lookPathErr = err
|
||||
r.cmd.lookPathErr = err
|
||||
} else {
|
||||
cmd.Path = lp
|
||||
r.cmd.Path = lp
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue