mirror of
https://github.com/ShareX/ShareX.git
synced 2024-09-29 17:02:05 +13:00
Enforce even size
This commit is contained in:
parent
03e83ae240
commit
f7a8d504ee
1 changed files with 5 additions and 0 deletions
|
@ -139,6 +139,11 @@ public string GetFFmpegArgs(bool isCustom = false)
|
||||||
|
|
||||||
monitorIndex = i;
|
monitorIndex = i;
|
||||||
captureArea = new Rectangle(intersection.X - screen.Bounds.X, intersection.Y - screen.Bounds.Y, intersection.Width, intersection.Height);
|
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