Unified · Split
| @@ -397,13 +397,6 @@ vpx_codec_err_t vpx_svc_init(SvcContext *svc_ctx, vpx_codec_ctx_t *codec_ctx, · 396 unmodified lines | ||
| 397 | 397 | si->width = enc_cfg->g_w; |
| 398 | 398 | si->height = enc_cfg->g_h; |
| 399 | 399 | |
| 400 | −// wonkap: why is this necessary? | |
| 401 | − /*if (enc_cfg->kf_max_dist < 2) { | |
| 402 | − svc_log(svc_ctx, SVC_LOG_ERROR, "key frame distance too small: %d\n", | |
| 403 | − enc_cfg->kf_max_dist); | |
| 404 | − return VPX_CODEC_INVALID_PARAM; | |
| 405 | − }*/ | |
| 406 | − | |
| 407 | 400 | si->kf_dist = enc_cfg->kf_max_dist; |
| 408 | 401 | |
| 409 | 402 | if (svc_ctx->spatial_layers == 0) |