change minimum-aspect-ratio default value to 1

This commit is contained in:
stax76
2022-06-07 22:51:52 +02:00
parent 6eb82b6b7e
commit 572257b645
4 changed files with 5 additions and 3 deletions

View File

@@ -435,7 +435,7 @@ are used as defined by autofit and start-size. Default: 1500
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
with cover art. Default: 1
#### --remember-window-position=\<yes|no\>

View File

@@ -36,7 +36,7 @@ namespace mpvnet
public static int StartThreshold { get; set; } = 1500;
public static int RecentCount { get; set; } = 15;
public static float MinimumAspectRatio { get; set; } = 1.2f;
public static float MinimumAspectRatio { get; set; } = 1;
public static float QuickBookmark { get; set; }
public static Extension Extension { get; set; }

View File

@@ -149,6 +149,8 @@ namespace mpvnet
ProcessCommandLine(true);
Environment.SetEnvironmentVariable("mpv_client", "mpvnet");
mpv_error err = mpv_initialize(Handle);
if (err < 0)

View File

@@ -457,7 +457,7 @@ help = Threshold in milliseconds to wait for libmpv returning the video resoluti
name = minimum-aspect-ratio
file = mpvnet
filter = Screen
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 option)
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 (mpv.net specific option)
[setting]
name = remember-window-position