This commit is contained in:
Victor Horobchuk 2021-03-22 12:25:13 +02:00
parent 4e85482988
commit 4e6ecda884
2 changed files with 6 additions and 10 deletions

View file

@ -22,12 +22,12 @@ public string Value
{ {
switch (_value) switch (_value)
{ {
case Mirror.Horizontall: case Mirror.Horizontal:
return "hflip"; return "hflip";
case Mirror.Verticall: case Mirror.Vertical:
return "vflip"; return "vflip";
default: default:
throw new Exception("SetMirrorVideo: argument not found"); throw new ArgumentOutOfRangeException("SetMirrorVideo: argument not found");
} }
} }

View file

@ -1,12 +1,8 @@
using System; namespace FFMpegCore.Enums
using System.Collections.Generic;
using System.Text;
namespace FFMpegCore.Enums
{ {
public enum Mirror public enum Mirror
{ {
Verticall, Vertical,
Horizontall Horizontal
} }
} }