Commit 1b4ffc44 authored by Yaowu Xu's avatar Yaowu Xu Committed by Angie Chiang
Browse files

use frame_type for key frame check

Change-Id: I416a7f99e292a6304bc24d93ab580650768d5e21
parent 3bce7547
......@@ -5298,7 +5298,7 @@ static void compute_internal_stats(AV1_COMP *cpi, int frame_bytes) {
uint32_t bit_depth = 8;
if (cm->current_video_frame <= 1) return; // skip key frame
if (cm->frame_type == KEY_FRAME) return; // skip key frame
cpi->bytes += frame_bytes;
Supports Markdown
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