diff --git a/Manual.md b/Manual.md index 41da444..72619c1 100644 --- a/Manual.md +++ b/Manual.md @@ -17,6 +17,7 @@ Table of contents * [Extensions](#extensions) * [Color Theme](#color-theme) * [Advanced Features](#advanced-features) +* [Hidden Features](#hidden-features) * [Differences](#differences) * [Technical Overview](#technical-overview) * [Context Menu](#context-menu) @@ -443,6 +444,8 @@ Whenever the control key is pressed when files or URLs are opened, the playlist Pressing the shift key while opening a single file will suppress loading all files in the folder. +In fullscreen mode clicking the top right corner closes the player. + Differences ----------- diff --git a/mpv.net/Properties/AssemblyInfo.cs b/mpv.net/Properties/AssemblyInfo.cs index 1f71c32..ea09f0b 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.4.6")] -[assembly: AssemblyFileVersion("5.4.4.6")] +[assembly: AssemblyVersion("5.4.5.0")] +[assembly: AssemblyFileVersion("5.4.5.0")] diff --git a/mpv.net/mpv/libmpv.cs b/mpv.net/mpv/libmpv.cs index 08d617f..c53e413 100644 --- a/mpv.net/mpv/libmpv.cs +++ b/mpv.net/mpv/libmpv.cs @@ -219,7 +219,10 @@ public class libmpv public static string ConvertFromUtf8(IntPtr nativeUtf8) { int len = 0; - while (Marshal.ReadByte(nativeUtf8, len) != 0) ++len; + + while (Marshal.ReadByte(nativeUtf8, len) != 0) + ++len; + byte[] buffer = new byte[len]; Marshal.Copy(nativeUtf8, buffer, 0, buffer.Length); return Encoding.UTF8.GetString(buffer);