mirror of https://bitbucket.org/ausocean/av.git
fixed some syntax errors
This commit is contained in:
parent
12cefea60a
commit
ef1ede1eb5
|
@ -30,7 +30,7 @@ package revid
|
|||
import (
|
||||
"errors"
|
||||
"strconv"
|
||||
"fmt"
|
||||
_"fmt"
|
||||
|
||||
"bitbucket.org/ausocean/utils/smartLogger"
|
||||
//"../../utils/smartLogger"
|
||||
|
|
|
@ -537,7 +537,7 @@ func (r *revid) setupInputForRaspivid() error {
|
|||
case H264:
|
||||
switch r.config.QuantizationMode {
|
||||
case QuantizationOn:
|
||||
if config.Flip == config.No {
|
||||
if r.config.Flip == config.No {
|
||||
r.cmd = exec.Command("raspivid",
|
||||
"-cd", "H264",
|
||||
"-o", "-",
|
||||
|
@ -570,7 +570,7 @@ func (r *revid) setupInputForRaspivid() error {
|
|||
}
|
||||
|
||||
case QuantizationOff:
|
||||
if config.Flip == config.No {
|
||||
if r.config.Flip == config.No {
|
||||
r.cmd = exec.Command("raspivid",
|
||||
"-cd", "H264",
|
||||
"-o", "-",
|
||||
|
|
Loading…
Reference in New Issue