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