Fix: Ignored VIDEOASPECT value from txt file
Also changed letterbox detection at OrigAspect from >= 2.0 to >= 1.9. Unchanged for <= 1.5.
This commit is contained in:
1 parent
5ac791cf47
commit
8d6f8ffca8
1 file changed
+2
-2
@@ -842,7 +842,7 @@ namespace Vocaluxe.Screens
|
||||
SRectF bounds = CSettings.RenderRect;
|
||||
|
||||
if (_VideoAspect == EAspect.Automatic)
|
||||
_VideoAspect = ((background.OrigAspect <= 1.5 || background.OrigAspect >= 2.0) ? EAspect.LetterBox : EAspect.Crop);
|
||||
_VideoAspect = ((background.OrigAspect <= 1.5 || background.OrigAspect >= 1.9) ? EAspect.LetterBox : EAspect.Crop);
|
||||
aspect = _VideoAspect;
|
||||
|
||||
SRectF rect = CHelper.FitInBounds(bounds, background.OrigAspect, aspect);
|
||||
@@ -1125,7 +1125,7 @@ namespace Vocaluxe.Screens
|
||||
voiceAssignments[i] = CGame.Players[i].VoiceNr;
|
||||
}
|
||||
|
||||
_VideoAspect = EAspect.Automatic;
|
||||
_VideoAspect = song.VideoAspect;
|
||||
if (!String.IsNullOrEmpty(song.VideoFileName))
|
||||
{
|
||||
_CurrentVideo = CVideo.Load(Path.Combine(song.Folder, song.VideoFileName));
|
||||
|
||||
Reference in new issue
Block a user