shithub: libvpx

Download patch

ref: b582cf0ea901d248946f874c4c0e68033bd43dff
parent: 7ed1d54ab4b75037e90c46135cfe01b7dc47fa4d
author: Marco <[email protected]>
date: Fri Jun 24 07:42:04 EDT 2016

vp9-svc: Remove some unneeded code/comment.

Change-Id: I710707296042d8586109760544ef68e40ae486c3

--- a/vpx/src/svc_encodeframe.c
+++ b/vpx/src/svc_encodeframe.c
@@ -397,13 +397,6 @@
   si->width = enc_cfg->g_w;
   si->height = enc_cfg->g_h;
 
-// wonkap: why is this necessary?
-  /*if (enc_cfg->kf_max_dist < 2) {
-    svc_log(svc_ctx, SVC_LOG_ERROR, "key frame distance too small: %d\n",
-            enc_cfg->kf_max_dist);
-    return VPX_CODEC_INVALID_PARAM;
-  }*/
-
   si->kf_dist = enc_cfg->kf_max_dist;
 
   if (svc_ctx->spatial_layers == 0)