Merge "SVC: Add setting for max_intra_rate_pct in sample encoder."

This commit is contained in:
Marco Paniconi
2017-09-26 16:28:30 +00:00
committed by Gerrit Code Review

View File

@@ -709,6 +709,7 @@ int main(int argc, const char **argv) {
vpx_codec_control(&codec, VP9E_SET_AQ_MODE, 3);
if (svc_ctx.speed >= 5)
vpx_codec_control(&codec, VP8E_SET_STATIC_THRESHOLD, 1);
vpx_codec_control(&codec, VP8E_SET_MAX_INTRA_BITRATE_PCT, 900);
// Encode frames
while (!end_of_stream) {