fix crop mode with nvidia accel (#1545)

This commit is contained in:
Jason Dove
2024-01-11 11:42:26 -06:00
committed by GitHub
parent f39eac97c0
commit 2a28bf68bf
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -27,6 +27,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Unlock playout when playout build fails - Unlock playout when playout build fails
- Ignore errors deleting old HLS segments; this should improve stream reliability - Ignore errors deleting old HLS segments; this should improve stream reliability
- Update show year when changed within Plex - Update show year when changed within Plex
- Fix crop scale mode with NVIDIA acceleration
### Changed ### Changed
- Upgrade from .NET 7 to .NET 8 - Upgrade from .NET 7 to .NET 8
@@ -160,6 +160,7 @@ public class NvidiaPipelineBuilder : SoftwarePipelineBuilder
currentState = SetDeinterlace(videoInputFile, context, currentState); currentState = SetDeinterlace(videoInputFile, context, currentState);
currentState = SetScale(videoInputFile, videoStream, context, ffmpegState, desiredState, currentState); currentState = SetScale(videoInputFile, videoStream, context, ffmpegState, desiredState, currentState);
currentState = SetPad(videoInputFile, videoStream, desiredState, currentState); currentState = SetPad(videoInputFile, videoStream, desiredState, currentState);
currentState = SetCrop(videoInputFile, desiredState, currentState);
if (currentState.BitDepth == 8 && context.HasSubtitleOverlay || context.HasWatermark) if (currentState.BitDepth == 8 && context.HasSubtitleOverlay || context.HasWatermark)
{ {