Browse Source

fix qsv transitions (#2246)

* fix qsv transitions

* revert unintended change
pull/2247/head
Jason Dove 1 year ago committed by GitHub
parent
commit
b3d0b44e77
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      CHANGELOG.md
  2. 3
      ErsatzTV.FFmpeg/Pipeline/PipelineBuilderBase.cs

1
CHANGELOG.md

@ -51,6 +51,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). @@ -51,6 +51,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Fix schedule start time calculation when daily playout build goes beyond midnight and into a different alternate schedule
- Fix compatibility with older NVIDIA devices (compute capability 3.0+) in unified docker image
- Fix transitions when using NVIDIA acceleration
- Fix transitions when using QSV acceleration (on Windows and on Linux)
### Changed
- Always tell ffmpeg to stop encoding with a specific duration

3
ErsatzTV.FFmpeg/Pipeline/PipelineBuilderBase.cs

@ -351,8 +351,7 @@ public abstract class PipelineBuilderBase : IPipelineBuilder @@ -351,8 +351,7 @@ public abstract class PipelineBuilderBase : IPipelineBuilder
{
foreach (string segmentTemplate in ffmpegState.HlsSegmentTemplate)
{
//bool oneSecondGop = ffmpegState.EncoderHardwareAccelerationMode is HardwareAccelerationMode.Qsv;
var oneSecondGop = false;
bool oneSecondGop = ffmpegState.EncoderHardwareAccelerationMode is HardwareAccelerationMode.Qsv;
pipelineSteps.Add(
new OutputFormatHls(

Loading…
Cancel
Save