mirror of https://github.com/odrling/Aegisub
Don't show a CPS value for lines under 100 ms long
This commit is contained in:
parent
543034b96b
commit
7bc35cecb7
|
@ -265,7 +265,7 @@ public:
|
||||||
int duration = d->End - d->Start;
|
int duration = d->End - d->Start;
|
||||||
auto const& text = d->Text.get();
|
auto const& text = d->Text.get();
|
||||||
|
|
||||||
if (duration <= 0 || text.size() > static_cast<size_t>(duration))
|
if (duration <= 100 || text.size() > static_cast<size_t>(duration))
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
int ignore = agi::IGNORE_NONE;
|
int ignore = agi::IGNORE_NONE;
|
||||||
|
|
Loading…
Reference in New Issue