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"},
|
{"Quantization", "Desired quantization value"},
|
||||||
{"Timeout", "Http timeout in seconds"},
|
{"Timeout", "Http timeout in seconds"},
|
||||||
{"IntraRefreshPeriod", "The IntraRefreshPeriod i.e. how many keyframes we send"},
|
{"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
|
// Create the configFlags based on the flagNames array
|
||||||
|
@ -214,9 +215,9 @@ func main() {
|
||||||
|
|
||||||
switch *configFlags[horizontalFlipPtr] {
|
switch *configFlags[horizontalFlipPtr] {
|
||||||
case "No":
|
case "No":
|
||||||
config.Flip = revid.No
|
config.HorizontalFlip = revid.No
|
||||||
case "Yes":
|
case "Yes":
|
||||||
config.Flip = revid.Yes
|
config.HorizontalFlip = revid.Yes
|
||||||
case "":
|
case "":
|
||||||
default:
|
default:
|
||||||
fmt.Println("Bad horizontal flip option!")
|
fmt.Println("Bad horizontal flip option!")
|
||||||
|
@ -224,7 +225,7 @@ func main() {
|
||||||
|
|
||||||
switch *configFlags[verticalFlipPtr] {
|
switch *configFlags[verticalFlipPtr] {
|
||||||
case "No":
|
case "No":
|
||||||
config.HorizontalFlip = revid.No
|
config.VerticalFlip = revid.No
|
||||||
case "Yes":
|
case "Yes":
|
||||||
config.VerticalFlip = revid.Yes
|
config.VerticalFlip = revid.Yes
|
||||||
case "":
|
case "":
|
||||||
|
|
Loading…
Reference in New Issue