-
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
###
|
||||
|
||||
### 4.1
|
||||
|
||||
- drag & drop support for subtitles was added
|
||||
- libmpv was updated
|
||||
- command line support for stdin and URLs was added
|
||||
- there was a crash happening when the player is
|
||||
minimized in the taskbar
|
||||
|
||||
### 4.0
|
||||
|
||||
|
||||
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("4.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("4.0.0.0")]
|
||||
[assembly: AssemblyVersion("4.1.0.0")]
|
||||
[assembly: AssemblyFileVersion("4.1.0.0")]
|
||||
|
||||
@@ -537,8 +537,14 @@ namespace mpvnet
|
||||
List<string> files = new List<string>();
|
||||
|
||||
foreach (string i in args)
|
||||
if (!i.StartsWith("--") && File.Exists(i))
|
||||
{
|
||||
if (!i.StartsWith("--") && File.Exists(i) || i == "-" || i.StartsWith("http"))
|
||||
{
|
||||
files.Add(i);
|
||||
if (i.StartsWith("http"))
|
||||
RegistryHelp.SetObject("HKCU\\Software\\" + Application.ProductName, "LastURL", i);
|
||||
}
|
||||
}
|
||||
|
||||
mp.LoadFiles(files.ToArray());
|
||||
|
||||
@@ -670,6 +676,7 @@ namespace mpvnet
|
||||
{
|
||||
if (MainForm.Instance is null) return;
|
||||
Rectangle cr = MainForm.Instance.ClientRectangle;
|
||||
if (cr.Width == 0 || cr.Height == 0) return;
|
||||
|
||||
using (Bitmap b = new Bitmap(cr.Width, cr.Height))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user