History

vp9-svc: Remove some unneeded code/comment.

Marco committed 10 years ago

Commit b582cf01 parent 7ed1d541 file · +0 −7Browse files

Unified · Split

vpx/src/svc_encodeframe.c+0−7
@@ -397,13 +397,6 @@ vpx_codec_err_t vpx_svc_init(SvcContext *svc_ctx, vpx_codec_ctx_t *codec_ctx, · 396 unmodified lines
397 si->width = enc_cfg->g_w;397 si->width = enc_cfg->g_w;
398 si->height = enc_cfg->g_h;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 si->kf_dist = enc_cfg->kf_max_dist;400 si->kf_dist = enc_cfg->kf_max_dist;
408 401
409 if (svc_ctx->spatial_layers == 0)402 if (svc_ctx->spatial_layers == 0)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t