Browse Source

fix crop mode with nvidia accel (#1545)

pull/1546/head
Jason Dove 2 years ago committed by GitHub
parent
commit
2a28bf68bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      CHANGELOG.md
  2. 1
      ErsatzTV.FFmpeg/Pipeline/NvidiaPipelineBuilder.cs

1
CHANGELOG.md

@ -27,6 +27,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). @@ -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
- Ignore errors deleting old HLS segments; this should improve stream reliability
- Update show year when changed within Plex
- Fix crop scale mode with NVIDIA acceleration
### Changed
- Upgrade from .NET 7 to .NET 8

1
ErsatzTV.FFmpeg/Pipeline/NvidiaPipelineBuilder.cs

@ -160,6 +160,7 @@ public class NvidiaPipelineBuilder : SoftwarePipelineBuilder @@ -160,6 +160,7 @@ public class NvidiaPipelineBuilder : SoftwarePipelineBuilder
currentState = SetDeinterlace(videoInputFile, context, currentState);
currentState = SetScale(videoInputFile, videoStream, context, ffmpegState, desiredState, currentState);
currentState = SetPad(videoInputFile, videoStream, desiredState, currentState);
currentState = SetCrop(videoInputFile, desiredState, currentState);
if (currentState.BitDepth == 8 && context.HasSubtitleOverlay || context.HasWatermark)
{

Loading…
Cancel
Save