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

@@ -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)