test adjust values for blackframes

This commit is contained in:
Kilian von Pflugk 2024-05-19 17:49:43 +02:00
parent 20eba27132
commit b24a7ed4f4

View File

@ -13,7 +13,7 @@ public class TestBlackFrames
var range = 1e-5; var range = 1e-5;
var expected = new List<BlackFrame>(); var expected = new List<BlackFrame>();
expected.AddRange(CreateFrameSequence(2, 3)); expected.AddRange(CreateFrameSequence(2.04, 3));
expected.AddRange(CreateFrameSequence(5, 6)); expected.AddRange(CreateFrameSequence(5, 6));
expected.AddRange(CreateFrameSequence(8, 9.96)); expected.AddRange(CreateFrameSequence(8, 9.96));
@ -30,7 +30,8 @@ public class TestBlackFrames
[FactSkipFFmpegTests] [FactSkipFFmpegTests]
public void TestEndCreditDetection() public void TestEndCreditDetection()
{ {
var range = 1; // new strategy new range
var range = 3;
var analyzer = CreateBlackFrameAnalyzer(); var analyzer = CreateBlackFrameAnalyzer();