Browse Source

fix yuv444p10le (#1186)

pull/1187/head
Jason Dove 2 years ago committed by GitHub
parent
commit
1d63197b56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      CHANGELOG.md
  2. 4
      ErsatzTV.FFmpeg/ErsatzTV.FFmpeg.csproj
  3. 1
      ErsatzTV.FFmpeg/Format/AvailablePixelFormats.cs
  4. 1
      ErsatzTV.FFmpeg/Format/PixelFormatYuv444P10Le.cs

1
CHANGELOG.md

@ -13,6 +13,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). @@ -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

4
ErsatzTV.FFmpeg/ErsatzTV.FFmpeg.csproj

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

1
ErsatzTV.FFmpeg/Format/AvailablePixelFormats.cs

@ -11,6 +11,7 @@ public static class AvailablePixelFormats @@ -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)
};

1
ErsatzTV.FFmpeg/Format/PixelFormatYuv444P10Le.cs

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

Loading…
Cancel
Save