Skip to content

Commit

Permalink
try harder to avoid slow modules (ie: csc_cython)
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Jul 15, 2024
1 parent 528816a commit 7a16475
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpra/server/window/video_scoring.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def get_pipeline_score(enc_in_format, csc_spec, encoder_spec,
def clamp(v):
return max(0, min(100, v))
qscore = clamp(get_quality_score(enc_in_format, csc_spec, encoder_spec, scaling, target_quality, min_quality))
sscore = clamp(get_speed_score(enc_in_format, csc_spec, encoder_spec, scaling, target_speed, min_speed))
sscore = get_speed_score(enc_in_format, csc_spec, encoder_spec, scaling, target_speed, min_speed)

#multiplier for setup_cost:
#(lose points if we have less than N fps)
Expand Down

0 comments on commit 7a16475

Please sign in to comment.