mirror of
https://github.com/master-of-zen/Av1an.git
synced 2024-11-25 10:40:51 +00:00
Fix logic
This commit is contained in:
parent
f14cb122fe
commit
b3f46372ae
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ class TargetQuality:
|
|||
score = VMAF.read_weighted_vmaf(self.vmaf_probe(chunk, next_q))
|
||||
vmaf_cq.append((score, next_q))
|
||||
|
||||
if next_q == self.min_q or next_q == self.max_q:
|
||||
if (next_q == self.min_q and score < self.target) or (next_q == self.max_q and score > self.target):
|
||||
self.log_probes(vmaf_cq, frames, chunk.name, next_q, score,
|
||||
skip='low' if score < self.target else 'high')
|
||||
return next_q
|
||||
|
|
Loading…
Reference in a new issue