Meet minimum credit requirement
This commit is contained in:
parent
9962d3bd4b
commit
9af0e3f864
@ -135,7 +135,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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user