Skip to content

Commit 4e6ecda

Browse files
committed
update
1 parent 4e85482 commit 4e6ecda

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

FFMpegCore/FFMpeg/Arguments/SetMirrorVideo.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ public string Value
2222
{
2323
switch (_value)
2424
{
25-
case Mirror.Horizontall:
25+
case Mirror.Horizontal:
2626
return "hflip";
27-
case Mirror.Verticall:
27+
case Mirror.Vertical:
2828
return "vflip";
2929
default:
30-
throw new Exception("SetMirrorVideo: argument not found");
30+
throw new ArgumentOutOfRangeException("SetMirrorVideo: argument not found");
3131
}
3232

3333
}

FFMpegCore/FFMpeg/Enums/Mirror.cs

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Text;
4-
5-
namespace FFMpegCore.Enums
1+
namespace FFMpegCore.Enums
62
{
73
public enum Mirror
84
{
9-
Verticall,
10-
Horizontall
5+
Vertical,
6+
Horizontal
117
}
128
}

0 commit comments

Comments
 (0)