Automatic Video Aspect now selects the best mode for widescreen

It now uses LetterBox on 2.29:1 and similar aspect ratio movies (e.g. 640x280).
This commit is contained in:
Stefan authored and GitHub committed 2020-02-05 19:15:09 +01:00
1 parent 9c2e1ed229
commit 5ebca1be5d
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);