diff options
Diffstat (limited to 'win/CS')
-rw-r--r-- | win/CS/HandBrake.Interop/Interop/Json/Encode/SubtitleTrack.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/win/CS/HandBrake.Interop/Interop/Json/Encode/SubtitleTrack.cs b/win/CS/HandBrake.Interop/Interop/Json/Encode/SubtitleTrack.cs index 53f2a404d..4e0d79857 100644 --- a/win/CS/HandBrake.Interop/Interop/Json/Encode/SubtitleTrack.cs +++ b/win/CS/HandBrake.Interop/Interop/Json/Encode/SubtitleTrack.cs @@ -14,6 +14,8 @@ namespace HandBrake.Interop.Interop.Json.Encode /// </summary> public class SubtitleTrack { + private string name; + /// <summary> /// Gets or sets a value indicating whether burn. /// </summary> @@ -44,7 +46,11 @@ namespace HandBrake.Interop.Interop.Json.Encode /// </summary> public int Track { get; set; } - public string Name { get; set; } + public string Name + { + get => string.IsNullOrEmpty(this.name) ? null : this.name; + set => this.name = value; + } /// <summary> /// Gets or sets the srt. |