fix bt470bg color normalization using qsv (#1230)

This commit is contained in:
Jason Dove
2023-04-05 10:02:46 -05:00
committed by GitHub
parent 109b244676
commit cf3b8d90e3
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -14,6 +14,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Fix bug where local libraries would merge with media server libraries when the same file was added to both libraries
- Fix transcoding some 10-bit content from media servers using VAAPI acceleration
- Fix decoding of MPEG-4 Part 2 (e.g. DivX) content using NVIDIA acceleration
- Fix color normalization from `bt470bg` to `bt709` using QSV acceleration
### Changed
- Use Poster artwork for XMLTV if available
+2 -2
View File
@@ -72,8 +72,8 @@ public class ColorspaceFilter : BaseFilter
{
return _desiredPixelFormat.BitDepth switch
{
10 => $"{hwdownload}colormatrix=dst=bt709,format=yuv420p10",
8 => $"{hwdownload}colormatrix=dst=bt709,format=yuv420p",
10 => $"{hwdownload}colormatrix=src=bt470bg:dst=bt709,format=yuv420p10",
8 => $"{hwdownload}colormatrix=src=bt470bg:dst=bt709,format=yuv420p",
_ => string.Empty
};
}