Force better lower quantizer keyframe in case of high quantizer.
Change-Id: Ie69a164bc166b6a8819777038d65a7d9f9c3361f
This commit is contained in:
parent
0cac69f594
commit
dae97868da
@ -559,7 +559,7 @@ static int calc_active_worst_quality_one_pass_cbr(const VP9_COMP *cpi) {
|
||||
int adjustment = 0;
|
||||
int active_worst_quality;
|
||||
if (cm->frame_type == KEY_FRAME)
|
||||
return rc->worst_quality;
|
||||
return rc->worst_quality * 4 / 5;
|
||||
if (cm->current_video_frame > 1)
|
||||
active_worst_quality = MIN(rc->worst_quality,
|
||||
rc->avg_frame_qindex[INTER_FRAME] * 5 / 4);
|
||||
|
Loading…
Reference in New Issue
Block a user