mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 08:34:12 +01:00
Added JsonIgnore to Encoding on FFOptions since a breacking change in System.Text.Json introduced in .NET8.0 prevent us from deserializing this type https://github.com/dotnet/docs/issues/37041
This commit is contained in:
parent
f71e172f66
commit
91e8e1e18d
1 changed files with 2 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
using System.Text.Json.Serialization;
|
||||||
using FFMpegCore.Enums;
|
using FFMpegCore.Enums;
|
||||||
|
|
||||||
namespace FFMpegCore
|
namespace FFMpegCore
|
||||||
|
@ -20,6 +21,7 @@ public class FFOptions : ICloneable
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string TemporaryFilesFolder { get; set; } = Path.GetTempPath();
|
public string TemporaryFilesFolder { get; set; } = Path.GetTempPath();
|
||||||
|
|
||||||
|
[JsonIgnore]
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Encoding used for parsing stdout/stderr on ffmpeg and ffprobe processes
|
/// Encoding used for parsing stdout/stderr on ffmpeg and ffprobe processes
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
Loading…
Reference in a new issue