From b0ef161ed9dc4729dd00ba40f10fd647dbb9e397 Mon Sep 17 00:00:00 2001 From: Frank Skare Date: Tue, 12 May 2020 18:18:04 +0200 Subject: [PATCH] fix stdin support --- Changelog.md | 8 +++++++- mpv.net/Properties/AssemblyInfo.cs | 4 ++-- mpv.net/mpv/Core.cs | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Changelog.md b/Changelog.md index 4ed75d8..726b773 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,10 +1,16 @@ -5.4.8.1 Beta (not yet released) +5.4.8.2 Beta (not yet released) ============ +5.4.8.1 Beta +============ + +- fix stdin support + + 5.4.8.0 ======= diff --git a/mpv.net/Properties/AssemblyInfo.cs b/mpv.net/Properties/AssemblyInfo.cs index fd7e05b..d37e1bb 100644 --- a/mpv.net/Properties/AssemblyInfo.cs +++ b/mpv.net/Properties/AssemblyInfo.cs @@ -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("5.4.8.0")] -[assembly: AssemblyFileVersion("5.4.8.0")] +[assembly: AssemblyVersion("5.4.8.1")] +[assembly: AssemblyFileVersion("5.4.8.1")] diff --git a/mpv.net/mpv/Core.cs b/mpv.net/mpv/Core.cs index ed554e0..b34e15a 100644 --- a/mpv.net/mpv/Core.cs +++ b/mpv.net/mpv/Core.cs @@ -883,7 +883,7 @@ namespace mpvnet { string arg = i; - if (arg.StartsWith("-")) + if (arg.StartsWith("-") && arg.Length > 1) { try {