aboutsummaryrefslogtreecommitdiff
path: root/BDInfo/TSStream.cs
diff options
context:
space:
mode:
Diffstat (limited to 'BDInfo/TSStream.cs')
-rw-r--r--BDInfo/TSStream.cs31
1 files changed, 5 insertions, 26 deletions
diff --git a/BDInfo/TSStream.cs b/BDInfo/TSStream.cs
index 98269a362..fad3f1acb 100644
--- a/BDInfo/TSStream.cs
+++ b/BDInfo/TSStream.cs
@@ -142,21 +142,12 @@ namespace BDInfo
public double PacketSeconds = 0;
public int AngleIndex = 0;
- public ulong PacketSize
- {
- get
- {
- return PacketCount * 192;
- }
- }
+ public ulong PacketSize => PacketCount * 192;
private string _LanguageCode;
public string LanguageCode
{
- get
- {
- return _LanguageCode;
- }
+ get => _LanguageCode;
set
{
_LanguageCode = value;
@@ -398,13 +389,7 @@ namespace BDInfo
}
}
- public virtual string Description
- {
- get
- {
- return "";
- }
- }
+ public virtual string Description => "";
public abstract TSStream Clone();
@@ -444,10 +429,7 @@ namespace BDInfo
private TSVideoFormat _VideoFormat;
public TSVideoFormat VideoFormat
{
- get
- {
- return _VideoFormat;
- }
+ get => _VideoFormat;
set
{
_VideoFormat = value;
@@ -488,10 +470,7 @@ namespace BDInfo
private TSFrameRate _FrameRate;
public TSFrameRate FrameRate
{
- get
- {
- return _FrameRate;
- }
+ get => _FrameRate;
set
{
_FrameRate = value;