From 3705e2abbf9c2a25b185e1ab52b9164e1b372881 Mon Sep 17 00:00:00 2001 From: Frank Skare Date: Mon, 11 May 2020 17:08:01 +0200 Subject: [PATCH] 5.4.8.0 --- Changelog.md | 12 +++++++++--- mpv.net/Properties/AssemblyInfo.cs | 4 ++-- mpv.net/Resources/editor.toml.txt | 2 +- mpv.net/WinForms/MainForm.cs | 2 +- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/Changelog.md b/Changelog.md index e6ab341..4ed75d8 100644 --- a/Changelog.md +++ b/Changelog.md @@ -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 diff --git a/mpv.net/Properties/AssemblyInfo.cs b/mpv.net/Properties/AssemblyInfo.cs index 1e9d7d1..fd7e05b 100644 --- a/mpv.net/Properties/AssemblyInfo.cs +++ b/mpv.net/Properties/AssemblyInfo.cs @@ -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")] diff --git a/mpv.net/Resources/editor.toml.txt b/mpv.net/Resources/editor.toml.txt index a619181..ad746f3 100644 --- a/mpv.net/Resources/editor.toml.txt +++ b/mpv.net/Resources/editor.toml.txt @@ -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 = " Minimum aspect ratio for the window. Default: 1.2 (mpv.net specific setting)" +help = " 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" diff --git a/mpv.net/WinForms/MainForm.cs b/mpv.net/WinForms/MainForm.cs index f4703f9..7960635 100644 --- a/mpv.net/WinForms/MainForm.cs +++ b/mpv.net/WinForms/MainForm.cs @@ -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;