Choosing GOOD mode by default.
This patch fixes slow first pass problem. Mode could only be determined from the deadline value during frame encode call. Unfortunately, we use mode value before any encode calls during the first pass encoding (see set_speed_features() logic). The mode for the first pass must be different from BEST to make first pass fast. Change-Id: I562a7d32004ff631695d91c09a44d8a9076fd6b5
This commit is contained in:
Родитель
310f5a769c
Коммит
8d363882fd
|
@ -323,7 +323,7 @@ static vpx_codec_err_t set_encoder_config(
|
|||
if (oxcf->init_framerate > 180)
|
||||
oxcf->init_framerate = 30;
|
||||
|
||||
oxcf->mode = BEST;
|
||||
oxcf->mode = GOOD;
|
||||
|
||||
switch (cfg->g_pass) {
|
||||
case VPX_RC_ONE_PASS:
|
||||
|
|
Загрузка…
Ссылка в новой задаче