diff --git a/Meta.Vlc.Wpf/VlcPlayer.Helper.cs b/Meta.Vlc.Wpf/VlcPlayer.Helper.cs index 225860b..593729b 100644 --- a/Meta.Vlc.Wpf/VlcPlayer.Helper.cs +++ b/Meta.Vlc.Wpf/VlcPlayer.Helper.cs @@ -25,10 +25,10 @@ private Size GetScaleTransform() return new Size(_context.DisplayWidth / _context.DisplayHeight * _context.Height / _context.Width, 1.0); case AspectRatio._16_9: - return new Size(1.0 * 16 / 9 * _context.Height, 1.0); + return new Size(1.0 * 16 / 9 * _context.Height / _context.Width, 1.0); case AspectRatio._4_3: - return new Size(1.0 * 4 / 3 * _context.Height, 1.0); + return new Size(1.0 * 4 / 3 * _context.Height / _context.Width, 1.0); } return new Size(1.0, 1.0); }