mirror of
https://github.com/ShareX/ShareX.git
synced 2024-06-28 11:10:23 +12:00
Enforce even size
This commit is contained in:
parent
03e83ae240
commit
f7a8d504ee
|
@ -139,6 +139,11 @@ public string GetFFmpegArgs(bool isCustom = false)
|
|||
|
||||
monitorIndex = i;
|
||||
captureArea = new Rectangle(intersection.X - screen.Bounds.X, intersection.Y - screen.Bounds.Y, intersection.Width, intersection.Height);
|
||||
|
||||
if (FFmpeg.IsEvenSizeRequired)
|
||||
{
|
||||
captureArea = CaptureHelpers.EvenRectangleSize(captureArea);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue