mirror of https://bitbucket.org/ausocean/av.git
This should be ti
This commit is contained in:
parent
b2c7eced99
commit
a144ff8df7
|
@ -120,7 +120,8 @@ func main() {
|
|||
{"Quantization", "Desired quantization value"},
|
||||
{"Timeout", "Http timeout in seconds"},
|
||||
{"IntraRefreshPeriod", "The IntraRefreshPeriod i.e. how many keyframes we send"},
|
||||
{"Flip", "Flip video"},
|
||||
{"VerticalFlip", "Flip video vertically"},
|
||||
{"HorizontalFlip", "Flip video horizontally"}
|
||||
}
|
||||
|
||||
// Create the configFlags based on the flagNames array
|
||||
|
@ -214,9 +215,9 @@ func main() {
|
|||
|
||||
switch *configFlags[horizontalFlipPtr] {
|
||||
case "No":
|
||||
config.Flip = revid.No
|
||||
config.HorizontalFlip = revid.No
|
||||
case "Yes":
|
||||
config.Flip = revid.Yes
|
||||
config.HorizontalFlip = revid.Yes
|
||||
case "":
|
||||
default:
|
||||
fmt.Println("Bad horizontal flip option!")
|
||||
|
@ -224,7 +225,7 @@ func main() {
|
|||
|
||||
switch *configFlags[verticalFlipPtr] {
|
||||
case "No":
|
||||
config.HorizontalFlip = revid.No
|
||||
config.VerticalFlip = revid.No
|
||||
case "Yes":
|
||||
config.VerticalFlip = revid.Yes
|
||||
case "":
|
||||
|
|
Loading…
Reference in New Issue