terminal screenshot

This commit is contained in:
Frank Skare
2019-08-01 20:29:43 +02:00
parent 96d8d88d09
commit 3f74344b99
5 changed files with 8 additions and 2 deletions

View File

@@ -88,7 +88,7 @@ namespace mpvnet
{
public IntPtr dwData;
public int cbData;
[MarshalAs(UnmanagedType.LPStr)]
[MarshalAs(UnmanagedType.LPTStr)]
public string lpData;
}
}

View File

@@ -83,6 +83,7 @@ namespace mpvnet
if (mp.GPUAPI != "vulkan") mp.VideoSizeAutoResetEvent.WaitOne(App.StartThreshold);
if (Height < FontHeight * 4) SetFormPosAndSize();
if (mp.get_property_int("playlist-count") == 0) mp.ShowLogo();
}
catch (Exception ex)
{

View File

@@ -110,7 +110,6 @@ namespace mpvnet
mpv_initialize(Handle);
Initialized?.Invoke();
ShowLogo();
LoadMpvScripts();
if (GPUAPI != "vulkan") ProcessCommandLine();
}