change minimum-aspect-ratio default value to 1
This commit is contained in:
@@ -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\>
|
||||
|
||||
|
||||
@@ -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; }
|
||||
|
||||
@@ -149,6 +149,8 @@ namespace mpvnet
|
||||
|
||||
ProcessCommandLine(true);
|
||||
|
||||
Environment.SetEnvironmentVariable("mpv_client", "mpvnet");
|
||||
|
||||
mpv_error err = mpv_initialize(Handle);
|
||||
|
||||
if (err < 0)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user