fix yuv444p10le (#1186)

This commit is contained in:
Jason Dove
2023-03-01 19:56:14 -06:00
committed by GitHub
parent b2c57e7407
commit 1d63197b56
4 changed files with 3 additions and 4 deletions

View File

@@ -13,6 +13,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Fix some transcoding pipelines that use software decoders
- Improve VAAPI encoder capability detection on newer hardware
- Fix trash page to properly display episodes with missing metadata or titles
- Fix playback of content with yuv444p10le pixel format
### Changed
- Upgrade all docker images and windows builds to ffmpeg 6.0

View File

@@ -13,8 +13,4 @@
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="7.0.0" />
</ItemGroup>
<ItemGroup>
<Compile Remove="Format\PixelFormatYuv444P10Le.cs" />
</ItemGroup>
</Project>

View File

@@ -11,6 +11,7 @@ public static class AvailablePixelFormats
PixelFormat.YUV420P10LE => new PixelFormatYuv420P10Le(),
PixelFormat.YUVJ420P => new PixelFormatYuvJ420P(),
PixelFormat.YUV444P => new PixelFormatYuv444P(),
PixelFormat.YUV444P10LE => new PixelFormatYuv444P10Le(),
PixelFormat.YUVA420P => new PixelFormatYuva420P(),
_ => LogUnknownPixelFormat(pixelFormat, logger)
};

View File

@@ -4,4 +4,5 @@ public class PixelFormatYuv444P10Le : IPixelFormat
{
public string Name => PixelFormat.YUV444P10LE;
public string FFmpegName => FFmpegFormat.P010LE;
public int BitDepth => 10;
}