Toolbox: Fix "NeedFix" always returns true

This commit is contained in:
genteure 2022-06-22 21:34:38 +08:00
parent fe527e7bc9
commit 71334605c9
2 changed files with 2 additions and 2 deletions

View File

@ -137,7 +137,7 @@ namespace BililiveRecorder.ToolBox.Tool.Analyze
{
var (videoStats, audioStats) = statsRule.GetStats();
var countableComments = comments.Where(x => x.Type != CommentType.Logging).ToArray();
var countableComments = comments.Where(x => x.ActionRequired).ToArray();
return new AnalyzeResponse
{
InputPath = inputPath,

View File

@ -191,7 +191,7 @@ namespace BililiveRecorder.ToolBox.Tool.Fix
{
var (videoStats, audioStats) = statsRule.GetStats();
var countableComments = comments.Where(x => x.Type != CommentType.Logging).ToArray();
var countableComments = comments.Where(x => x.ActionRequired).ToArray();
return new FixResponse
{
InputPath = inputPath,