From 325cb484bfeccb2fa371c7af010c4eb4839c5f37 Mon Sep 17 00:00:00 2001 From: sr55 Date: Sat, 7 Jul 2018 15:20:55 +0100 Subject: WinGui: Update the Encode Json Factory to produce human readable Json for audio and video encoders. --- win/CS/HandBrake.Interop/Interop/Json/Encode/Audio.cs | 4 ++-- win/CS/HandBrake.Interop/Interop/Json/Encode/AudioTrack.cs | 2 +- win/CS/HandBrake.Interop/Interop/Json/Encode/Destination.cs | 2 +- win/CS/HandBrake.Interop/Interop/Json/Encode/Video.cs | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'win/CS/HandBrake.Interop/Interop/Json') diff --git a/win/CS/HandBrake.Interop/Interop/Json/Encode/Audio.cs b/win/CS/HandBrake.Interop/Interop/Json/Encode/Audio.cs index 924185f50..59ddd0481 100644 --- a/win/CS/HandBrake.Interop/Interop/Json/Encode/Audio.cs +++ b/win/CS/HandBrake.Interop/Interop/Json/Encode/Audio.cs @@ -24,11 +24,11 @@ namespace HandBrake.Interop.Interop.Json.Encode /// /// Gets or sets the copy mask. /// - public uint[] CopyMask { get; set; } + public string[] CopyMask { get; set; } /// /// Gets or sets the fallback encoder. /// - public int FallbackEncoder { get; set; } + public string FallbackEncoder { get; set; } } } \ No newline at end of file diff --git a/win/CS/HandBrake.Interop/Interop/Json/Encode/AudioTrack.cs b/win/CS/HandBrake.Interop/Interop/Json/Encode/AudioTrack.cs index 64ef94fd7..51989132a 100644 --- a/win/CS/HandBrake.Interop/Interop/Json/Encode/AudioTrack.cs +++ b/win/CS/HandBrake.Interop/Interop/Json/Encode/AudioTrack.cs @@ -32,7 +32,7 @@ namespace HandBrake.Interop.Interop.Json.Encode /// /// Gets or sets the encoder. /// - public int Encoder { get; set; } + public string Encoder { get; set; } /// /// Gets or sets the gain. diff --git a/win/CS/HandBrake.Interop/Interop/Json/Encode/Destination.cs b/win/CS/HandBrake.Interop/Interop/Json/Encode/Destination.cs index 0d8b2daeb..ab822c33a 100644 --- a/win/CS/HandBrake.Interop/Interop/Json/Encode/Destination.cs +++ b/win/CS/HandBrake.Interop/Interop/Json/Encode/Destination.cs @@ -44,6 +44,6 @@ namespace HandBrake.Interop.Interop.Json.Encode /// /// Gets or sets the mux. /// - public int Mux { get; set; } + public string Mux { get; set; } } } \ No newline at end of file diff --git a/win/CS/HandBrake.Interop/Interop/Json/Encode/Video.cs b/win/CS/HandBrake.Interop/Interop/Json/Encode/Video.cs index f77c0d335..992d67709 100644 --- a/win/CS/HandBrake.Interop/Interop/Json/Encode/Video.cs +++ b/win/CS/HandBrake.Interop/Interop/Json/Encode/Video.cs @@ -25,7 +25,7 @@ namespace HandBrake.Interop.Interop.Json.Encode /// /// Gets or sets the codec. /// - public int Encoder { get; set; } + public string Encoder { get; set; } /// /// Gets or sets the level. -- cgit v1.2.3