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 (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
"strconv"
|
"strconv"
|
||||||
"fmt"
|
_"fmt"
|
||||||
|
|
||||||
"bitbucket.org/ausocean/utils/smartLogger"
|
"bitbucket.org/ausocean/utils/smartLogger"
|
||||||
//"../../utils/smartLogger"
|
//"../../utils/smartLogger"
|
||||||
|
|
|
@ -537,7 +537,7 @@ func (r *revid) setupInputForRaspivid() error {
|
||||||
case H264:
|
case H264:
|
||||||
switch r.config.QuantizationMode {
|
switch r.config.QuantizationMode {
|
||||||
case QuantizationOn:
|
case QuantizationOn:
|
||||||
if config.Flip == config.No {
|
if r.config.Flip == config.No {
|
||||||
r.cmd = exec.Command("raspivid",
|
r.cmd = exec.Command("raspivid",
|
||||||
"-cd", "H264",
|
"-cd", "H264",
|
||||||
"-o", "-",
|
"-o", "-",
|
||||||
|
@ -570,7 +570,7 @@ func (r *revid) setupInputForRaspivid() error {
|
||||||
}
|
}
|
||||||
|
|
||||||
case QuantizationOff:
|
case QuantizationOff:
|
||||||
if config.Flip == config.No {
|
if r.config.Flip == config.No {
|
||||||
r.cmd = exec.Command("raspivid",
|
r.cmd = exec.Command("raspivid",
|
||||||
"-cd", "H264",
|
"-cd", "H264",
|
||||||
"-o", "-",
|
"-o", "-",
|
||||||
|
|
Loading…
Reference in New Issue