diff options
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Parsing/Audio.cs')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Parsing/Audio.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Parsing/Audio.cs b/win/CS/HandBrake.ApplicationServices/Parsing/Audio.cs index b78ca5ad8..d925d2d3a 100644 --- a/win/CS/HandBrake.ApplicationServices/Parsing/Audio.cs +++ b/win/CS/HandBrake.ApplicationServices/Parsing/Audio.cs @@ -128,10 +128,12 @@ namespace HandBrake.ApplicationServices.Parsing {
return false;
}
+
if (ReferenceEquals(this, other))
{
return true;
}
+
return other.TrackNumber == this.TrackNumber && object.Equals(other.Language, this.Language) && object.Equals(other.LanguageCode, this.LanguageCode) && object.Equals(other.Format, this.Format);
}
@@ -148,14 +150,17 @@ namespace HandBrake.ApplicationServices.Parsing {
return false;
}
+
if (ReferenceEquals(this, obj))
{
return true;
}
+
if (obj.GetType() != typeof(Audio))
{
return false;
}
+
return Equals((Audio)obj);
}
|