Files
ersatztv/ErsatzTV.FFmpeg/MediaStream.cs
T
Jason DoveandGitHub 1ab98578ab refactor namespaces and imports (#670)
* re-namespace

* optimize usings

* more usings

* more of the same

* more implicit/global usings

* cleanup all usings

* minor fixes
2022-03-03 15:36:07 -06:00

22 lines
492 B
C#

using ErsatzTV.FFmpeg.Format;
namespace ErsatzTV.FFmpeg;
public record MediaStream(int Index, string Codec, StreamKind Kind);
public record AudioStream(int Index, string Codec, int Channels) : MediaStream(
Index,
Codec,
StreamKind.Audio);
public record VideoStream(
int Index,
string Codec,
Option<IPixelFormat> PixelFormat,
FrameSize FrameSize,
Option<string> FrameRate,
bool StillImage) : MediaStream(
Index,
Codec,
StreamKind.Video);