Browse Source

fix nvidia color normalization (#1314)

pull/1315/head
Jason Dove 3 years ago committed by GitHub
parent
commit
85792f0811
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      CHANGELOG.md
  2. 3
      ErsatzTV.FFmpeg/ColorParams.cs

1
CHANGELOG.md

@ -16,6 +16,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Fixed ### Fixed
- Skip checking for subtitles to extract when subtitles are not enabled on a channel/schedule item - Skip checking for subtitles to extract when subtitles are not enabled on a channel/schedule item
- Properly scale subtitles when using hardware acceleration - Properly scale subtitles when using hardware acceleration
- Fix color normalization of content with missing color metadata when using NVIDIA acceleration
### Changed ### Changed
- `HLS Direct` streaming mode - `HLS Direct` streaming mode

3
ErsatzTV.FFmpeg/ColorParams.cs

@ -12,7 +12,8 @@ public record ColorParams(string ColorRange, string ColorSpace, string ColorTran
string.IsNullOrWhiteSpace(ColorTransfer) && string.IsNullOrWhiteSpace(ColorTransfer) &&
string.IsNullOrWhiteSpace(ColorPrimaries); string.IsNullOrWhiteSpace(ColorPrimaries);
public bool IsMixed => ColorSpace != ColorTransfer || ColorTransfer != ColorPrimaries; public bool IsMixed => ColorSpace != ColorTransfer || ColorTransfer != ColorPrimaries ||
string.IsNullOrWhiteSpace(ColorRange);
public bool IsBt709 public bool IsBt709
{ {

Loading…
Cancel
Save