fixed another syntax error

This commit is contained in:
Saxon1 2018-05-03 17:59:50 +09:30
parent ef1ede1eb5
commit 16d925af08
1 changed files with 2 additions and 2 deletions

View File

@ -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 r.config.Flip == config.No { if r.config.Flip == 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 r.config.Flip == config.No { if r.config.Flip == No {
r.cmd = exec.Command("raspivid", r.cmd = exec.Command("raspivid",
"-cd", "H264", "-cd", "H264",
"-o", "-", "-o", "-",