[spatial svc] Remove hard coded rc_end_usage setting

Change-Id: Ifb09502ddf62664b3bfc62172de46bc36fde8efb
This commit is contained in:
Minghai Shang 2014-05-21 11:18:06 -07:00
parent 66ce10c13d
commit 39aef40236
2 changed files with 1 additions and 1 deletions

View File

@ -150,6 +150,7 @@ static void parse_command_line(int argc, const char **argv_,
enc_cfg->rc_target_bitrate = default_bitrate; enc_cfg->rc_target_bitrate = default_bitrate;
enc_cfg->kf_min_dist = default_kf_dist; enc_cfg->kf_min_dist = default_kf_dist;
enc_cfg->kf_max_dist = default_kf_dist; enc_cfg->kf_max_dist = default_kf_dist;
enc_cfg->rc_end_usage = VPX_CQ;
// initialize AppInput with default values // initialize AppInput with default values
app_input->frames_to_code = default_frames_to_code; app_input->frames_to_code = default_frames_to_code;

View File

@ -580,7 +580,6 @@ vpx_codec_err_t vpx_svc_init(SvcContext *svc_ctx, vpx_codec_ctx_t *codec_ctx,
// TODO(ivanmaltz): determine if these values need to be set explicitly for // TODO(ivanmaltz): determine if these values need to be set explicitly for
// svc, or if the normal default/override mechanism can be used // svc, or if the normal default/override mechanism can be used
enc_cfg->rc_dropframe_thresh = 0; enc_cfg->rc_dropframe_thresh = 0;
enc_cfg->rc_end_usage = VPX_CBR;
enc_cfg->rc_resize_allowed = 0; enc_cfg->rc_resize_allowed = 0;
if (enc_cfg->g_pass == VPX_RC_ONE_PASS) { if (enc_cfg->g_pass == VPX_RC_ONE_PASS) {