setting env var MPVNET_VERSION

This commit is contained in:
stax76
2022-06-14 15:09:56 +02:00
parent b17ed3675e
commit 55f4a340af
2 changed files with 2 additions and 3 deletions

View File

@@ -130,7 +130,6 @@ namespace mpvnet
{
SetPropertyString("terminal", "yes");
SetPropertyString("input-terminal", "yes");
SetPropertyString("msg-level", "osd/libass=fatal");
}
SetPropertyInt("osd-duration", 2000);
@@ -149,7 +148,7 @@ namespace mpvnet
ProcessCommandLine(true);
Environment.SetEnvironmentVariable("mpv_client", "mpvnet");
Environment.SetEnvironmentVariable("MPVNET_VERSION", Application.ProductVersion);
mpv_error err = mpv_initialize(Handle);