aboutsummaryrefslogtreecommitdiff
path: root/BDInfo/TSStream.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2019-01-16 19:10:42 +0100
committerGitHub <noreply@github.com>2019-01-16 19:10:42 +0100
commit900dc851e6c810f9e1772a6fb901a5a7e2801baf (patch)
tree205bac3cd6df971ee18739e59bd4da0ffe91718b /BDInfo/TSStream.cs
parent07a8e49c4b1e4a2dddbaa49ab6f1ff4f271fbf20 (diff)
parent933ef438894ed233fec46badf58dd4f26492e832 (diff)
Merge branch 'dev' into cleanup
Diffstat (limited to 'BDInfo/TSStream.cs')
-rw-r--r--BDInfo/TSStream.cs16
1 files changed, 8 insertions, 8 deletions
diff --git a/BDInfo/TSStream.cs b/BDInfo/TSStream.cs
index 5afb81c5e..250308b1a 100644
--- a/BDInfo/TSStream.cs
+++ b/BDInfo/TSStream.cs
@@ -109,7 +109,7 @@ namespace BDInfo
public TSDescriptor Clone()
{
- TSDescriptor descriptor =
+ TSDescriptor descriptor =
new TSDescriptor(Name, (byte)Value.Length);
Value.CopyTo(descriptor.Value, 0);
return descriptor;
@@ -153,15 +153,15 @@ namespace BDInfo
private string _LanguageCode;
public string LanguageCode
{
- get
+ get
{
- return _LanguageCode;
+ return _LanguageCode;
}
- set
+ set
{
_LanguageCode = value;
LanguageName = LanguageCodes.GetName(value);
- }
+ }
}
public bool IsVideoStream
@@ -407,7 +407,7 @@ namespace BDInfo
}
public abstract TSStream Clone();
-
+
protected void CopyTo(TSStream stream)
{
stream.PID = PID;
@@ -435,7 +435,7 @@ namespace BDInfo
public int Width;
public int Height;
- public bool IsInterlaced;
+ public bool IsInterlaced;
public int FrameRateEnumerator;
public int FrameRateDenominator;
public TSAspectRatio AspectRatio;
@@ -581,7 +581,7 @@ namespace BDInfo
stream.FrameRate = _FrameRate;
stream.Width = Width;
stream.Height = Height;
- stream.IsInterlaced = IsInterlaced;
+ stream.IsInterlaced = IsInterlaced;
stream.FrameRateEnumerator = FrameRateEnumerator;
stream.FrameRateDenominator = FrameRateDenominator;
stream.AspectRatio = AspectRatio;