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

@@ -1,3 +1,9 @@
###
- bug fix for single-instance not working with unicode filenames
- bug fix for logo not shown
- bug fix osd-visibility.js script causing memory leak
### 5.1 ### 5.1
- 'Tools > Execute mpv command' was replaced with [mpv-repl](https://github.com/rossy/mpv-repl) - 'Tools > Execute mpv command' was replaced with [mpv-repl](https://github.com/rossy/mpv-repl)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

View File

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

View File

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

View File

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