Browse Source

allow segmenter v2 playback on intel vaapi/qsv (#1623)

pull/1624/head
Jason Dove 1 year ago committed by GitHub
parent
commit
bcc58bd668
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      ErsatzTV.FFmpeg/Pipeline/PipelineBuilderBase.cs

6
ErsatzTV.FFmpeg/Pipeline/PipelineBuilderBase.cs

@ -272,7 +272,11 @@ public abstract class PipelineBuilderBase : IPipelineBuilder @@ -272,7 +272,11 @@ public abstract class PipelineBuilderBase : IPipelineBuilder
context,
pipelineSteps);
context = context with { IsIntelVaapiOrQsv = IsIntelVaapiOrQsv(ffmpegState) };
// don't double input files for concat segmenter (v2) parent or child
if (_concatInputFile.IsNone && ffmpegState.OutputFormat is not OutputFormatKind.Nut)
{
context = context with { IsIntelVaapiOrQsv = IsIntelVaapiOrQsv(ffmpegState) };
}
if (_audioInputFile.IsNone)
{

Loading…
Cancel
Save