From efc710749e063b1c11ce364d31204aedaead3b10 Mon Sep 17 00:00:00 2001 From: Jason Dove Date: Mon, 28 Aug 2023 20:44:35 -0500 Subject: [PATCH] fix test --- .../FFmpeg/FFmpegPlaybackSettingsCalculatorTests.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ErsatzTV.Core.Tests/FFmpeg/FFmpegPlaybackSettingsCalculatorTests.cs b/ErsatzTV.Core.Tests/FFmpeg/FFmpegPlaybackSettingsCalculatorTests.cs index 2484d2b93..ad513f3b4 100644 --- a/ErsatzTV.Core.Tests/FFmpeg/FFmpegPlaybackSettingsCalculatorTests.cs +++ b/ErsatzTV.Core.Tests/FFmpeg/FFmpegPlaybackSettingsCalculatorTests.cs @@ -40,9 +40,11 @@ public class FFmpegPlaybackSettingsCalculatorTests } [Test] - public void Should_Not_UseSpecifiedThreadCount_ForTransportStream() + public void Should_UseSpecifiedThreadCount_ForTransportStream() { // MPEG-TS requires realtime output which is hardcoded to a single thread + // The thread limitation now happens in ErsatzTV.FFmpeg.Pipeline.PipelineBuilderBase + // So the value should be passed through this playback settings process FFmpegProfile ffmpegProfile = TestProfile() with { ThreadCount = 7 }; @@ -59,7 +61,7 @@ public class FFmpegPlaybackSettingsCalculatorTests false, None); - actual.ThreadCount.Should().Be(1); + actual.ThreadCount.Should().Be(7); } [Test]