Commit 0affa0ea authored by Minghai Shang's avatar Minghai Shang

[spatial svc] Fix one extra frame count during flush

Change-Id: Ia096aafa8aca4f9e58450c4b861393d8f0a15afe
parent 56186c25
......@@ -1000,8 +1000,10 @@ vpx_codec_err_t vpx_svc_encode(SvcContext *svc_ctx, vpx_codec_ctx_t *codec_ctx,
(int)si->frame_size, (int)pts);
}
}
++si->frame_within_gop;
++si->encode_frame_count;
if (rawimg != NULL) {
++si->frame_within_gop;
++si->encode_frame_count;
}
return VPX_CODEC_OK;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment