Merge "VP9-SVC: Bugfix to allow skipping lower layer(s) encoding."
This commit is contained in:
Коммит
86c16df39d
|
@ -1373,6 +1373,7 @@ static vpx_codec_err_t ctrl_set_svc_layer_id(vpx_codec_alg_priv_t *ctx,
|
||||||
SVC *const svc = &cpi->svc;
|
SVC *const svc = &cpi->svc;
|
||||||
|
|
||||||
svc->first_spatial_layer_to_encode = data->spatial_layer_id;
|
svc->first_spatial_layer_to_encode = data->spatial_layer_id;
|
||||||
|
svc->spatial_layer_to_encode = data->spatial_layer_id;
|
||||||
svc->temporal_layer_id = data->temporal_layer_id;
|
svc->temporal_layer_id = data->temporal_layer_id;
|
||||||
// Checks on valid layer_id input.
|
// Checks on valid layer_id input.
|
||||||
if (svc->temporal_layer_id < 0 ||
|
if (svc->temporal_layer_id < 0 ||
|
||||||
|
|
Загрузка…
Ссылка в новой задаче