5.4.7.0
This commit is contained in:
10
Changelog.md
10
Changelog.md
@@ -1,9 +1,17 @@
|
||||
|
||||
5.4.6.1 Beta (not yet released)
|
||||
5.4.7.1 Beta (not yet released)
|
||||
============
|
||||
|
||||
|
||||
|
||||
|
||||
5.4.7.0
|
||||
=======
|
||||
|
||||
- log error fix
|
||||
- workaround to support AviSynth portable (ffmpeg blocks loading AviSynth from path env var)
|
||||
- attempt to fix not reproducible volume input issue
|
||||
- attempt to fix exception caused by powershell being not available on Win 7
|
||||
|
||||
|
||||
5.4.6.0
|
||||
|
||||
@@ -233,6 +233,12 @@ namespace mpvnet
|
||||
var error = sender as PSDataCollection<ErrorRecord>;
|
||||
ConsoleHelp.WriteError(error[e.Index], Module);
|
||||
}
|
||||
|
||||
public static void Shutdown()
|
||||
{
|
||||
foreach (PowerShell ps in Instances)
|
||||
ps.Runspace.Dispose();
|
||||
}
|
||||
}
|
||||
|
||||
public class PowerShellException : Exception
|
||||
|
||||
@@ -520,6 +520,9 @@ namespace mpvnet
|
||||
case 0x319: // WM_APPCOMMAND
|
||||
if (core.WindowHandle != IntPtr.Zero)
|
||||
m.Result = WinAPI.SendMessage(core.WindowHandle, m.Msg, m.WParam, m.LParam);
|
||||
|
||||
if (m.Msg == 0x319) // WM_APPCOMMAND
|
||||
return;
|
||||
break;
|
||||
case 0x0200: // WM_MOUSEMOVE
|
||||
if (Environment.TickCount - LastCycleFullscreen > 500)
|
||||
@@ -793,10 +796,7 @@ namespace mpvnet
|
||||
if (!core.ShutdownAutoResetEvent.WaitOne(10000))
|
||||
Msg.ShowError("Shutdown thread failed to complete within 10 seconds.");
|
||||
|
||||
try { // PowerShell 5.1 might not be available
|
||||
foreach (PowerShell ps in PowerShell.Instances)
|
||||
ps.Runspace.Dispose();
|
||||
} catch {}
|
||||
PowerShell.Shutdown();
|
||||
}
|
||||
|
||||
protected override void OnMouseDown(MouseEventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user