|
|
|
@ -25,14 +25,15 @@ public record VideoStream( |
|
|
|
string DisplayAspectRatio, |
|
|
|
string DisplayAspectRatio, |
|
|
|
Option<FrameRate> FrameRate, |
|
|
|
Option<FrameRate> FrameRate, |
|
|
|
bool StillImage, |
|
|
|
bool StillImage, |
|
|
|
ScanKind ScanKind, |
|
|
|
ScanKind ScanKind) : MediaStream( |
|
|
|
bool HasMultipleProfiles) : MediaStream( |
|
|
|
|
|
|
|
Index, |
|
|
|
Index, |
|
|
|
Codec, |
|
|
|
Codec, |
|
|
|
StreamKind.Video) |
|
|
|
StreamKind.Video) |
|
|
|
{ |
|
|
|
{ |
|
|
|
public ColorParams ColorParams { get; private set; } = ColorParams; |
|
|
|
public ColorParams ColorParams { get; private set; } = ColorParams; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public bool HasMultipleProfiles { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
public int BitDepth => PixelFormat.Map(pf => pf.BitDepth).IfNone(8); |
|
|
|
public int BitDepth => PixelFormat.Map(pf => pf.BitDepth).IfNone(8); |
|
|
|
|
|
|
|
|
|
|
|
public string SampleAspectRatio |
|
|
|
public string SampleAspectRatio |
|
|
|
|