This commit is contained in:
Frank Skare
2020-05-11 17:08:01 +02:00
parent 7d73529c83
commit 3705e2abbf
4 changed files with 13 additions and 7 deletions

View File

@@ -1,9 +1,15 @@
5.4.7.5 Beta (not yet released)
5.4.8.1 Beta (not yet released)
============
- fix in the learn window of input editor, whole day spent :-(
- fix black one pixel bar on right side by truncating instead of rounding
5.4.8.0
=======
- fix learn window of input editor (much work)
- fix black one pixel bar on right side
- fix beep sound when closed from taskbar

View File

@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("5.4.7.4")]
[assembly: AssemblyFileVersion("5.4.7.4")]
[assembly: AssemblyVersion("5.4.8.0")]
[assembly: AssemblyFileVersion("5.4.8.0")]

View File

@@ -348,7 +348,7 @@ help = "Threshold in milliseconds to wait for libmpv returning the video resolut
name = "minimum-aspect-ratio"
file = "mpvnet"
filter = "Screen"
help = "<float> Minimum aspect ratio for the window. Default: 1.2 (mpv.net specific setting)"
help = "<float> Minimum aspect ratio, if the AR is smaller than the defined value then the window AR is set to 16/9. This avoids a square window for Music with cover art. Default: 1.2 (mpv.net specific setting)"
[[settings]]
name = "remember-position"

View File

@@ -300,7 +300,7 @@ namespace mpvnet
if (core.VideoSize.Height == 0 || core.VideoSize.Width == 0 ||
core.VideoSize.Width / (float)core.VideoSize.Height < App.MinimumAspectRatio)
core.VideoSize = new Size((int)(autoFitHeight * (16 / 9.0)), autoFitHeight);
core.VideoSize = new Size((int)(autoFitHeight * (16 / 9f)), autoFitHeight);
Size videoSize = core.VideoSize;
int height = videoSize.Height;