Fix for bdsup position - thx akaicat :)

Fix #4881
This commit is contained in:
Nikolaj Olsson 2021-03-10 08:25:28 +01:00
parent 351c59f629
commit 23fc294c6a

View File

@ -316,7 +316,7 @@ namespace Nikse.SubtitleEdit.Core.BluRaySup
{
if (PcsObjects.Count > 0)
{
return new Position(PcsObjects[0].Origin.X, PcsObjects[0].Origin.Y);
return new Position(PcsObjects.Min(p => p.Origin.X), PcsObjects.Min(p => p.Origin.Y));
}
return new Position(0, 0);