diff --git a/ConfusedPolarBear.Plugin.IntroSkipper/Analyzers/BlackFrameAnalyzer.cs b/ConfusedPolarBear.Plugin.IntroSkipper/Analyzers/BlackFrameAnalyzer.cs index b2e3e5b..f722867 100644 --- a/ConfusedPolarBear.Plugin.IntroSkipper/Analyzers/BlackFrameAnalyzer.cs +++ b/ConfusedPolarBear.Plugin.IntroSkipper/Analyzers/BlackFrameAnalyzer.cs @@ -134,7 +134,7 @@ public class BlackFrameAnalyzer : IMediaFileAnalyzer { // Start by analyzing the last N minutes of the file. var upperLimit = searchStart; - var lowerLimit = searchStart - searchDistance; + var lowerLimit = Math.Max(searchStart - searchDistance, minimumCreditsDuration); var start = TimeSpan.FromSeconds(upperLimit); var end = TimeSpan.FromSeconds(lowerLimit); var firstFrameTime = 0.0;