From a144ff8df7698850a28e0081642ce6c3e9bd7c59 Mon Sep 17 00:00:00 2001 From: Saxon1 Date: Sat, 5 May 2018 13:15:45 +0930 Subject: [PATCH] This should be ti --- RevidCLI.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/RevidCLI.go b/RevidCLI.go index e1899890..925d4c9a 100644 --- a/RevidCLI.go +++ b/RevidCLI.go @@ -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 "":