mpv.net attaches now to the parent terminal

This commit is contained in:
Frank Skare
2019-07-26 03:22:17 +02:00
parent 2068bfb6fa
commit b47d3c34f2
6 changed files with 24 additions and 11 deletions

View File

@@ -554,14 +554,6 @@ namespace mpvnet
}
}
Load(files.ToArray(), App.ProcessInstance != "queue", Control.ModifierKeys.HasFlag(Keys.Control));
if (files.Count == 0 || files[0].Contains("://"))
{
VideoSizeAutoResetEvent.Set();
VideoSizeChanged?.Invoke();
}
foreach (string i in args)
{
if (i.StartsWith("--"))
@@ -583,6 +575,14 @@ namespace mpvnet
}
}
}
Load(files.ToArray(), App.ProcessInstance != "queue", Control.ModifierKeys.HasFlag(Keys.Control));
if (files.Count == 0 || files[0].Contains("://"))
{
VideoSizeAutoResetEvent.Set();
VideoSizeChanged?.Invoke();
}
}
public static DateTime LastLoad;