Merge pull request #485 from Vocaluxe/AutomaticVideoAspectImprovement

Automatic Video Aspect now selects the best mode for widescreen
This commit is contained in:
Stefan authored and GitHub committed 2020-02-05 19:48:02 +01:00
commit 5ac791cf47
1 file changed
+1 -1
+1 -1
View File
@@ -842,7 +842,7 @@ namespace Vocaluxe.Screens
SRectF bounds = CSettings.RenderRect;
if (_VideoAspect == EAspect.Automatic)
_VideoAspect = (background.OrigAspect <= 1.5 ? EAspect.LetterBox : EAspect.Crop);
_VideoAspect = ((background.OrigAspect <= 1.5 || background.OrigAspect >= 2.0) ? EAspect.LetterBox : EAspect.Crop);
aspect = _VideoAspect;
SRectF rect = CHelper.FitInBounds(bounds, background.OrigAspect, aspect);