Commit 93d3001b authored by Yaowu Xu's avatar Yaowu Xu
Browse files

Reduce number of video frames in set_maps test

BUG=aomedia:506

Change-Id: I29d5c68ffe9bc9f440d7c0e8f2e134dd64267d78
parent 37fe5fbc
......@@ -123,7 +123,7 @@ int main(int argc, char **argv) {
aom_codec_ctx_t codec;
aom_codec_enc_cfg_t cfg;
int frame_count = 0;
const int limit = 30;
const int limit = 15;
aom_image_t raw;
aom_codec_err_t res;
AvxVideoInfo info;
......@@ -184,9 +184,9 @@ int main(int argc, char **argv) {
while (aom_img_read(&raw, infile) && frame_count < limit) {
++frame_count;
if (frame_count == 11) {
if (frame_count == 5) {
set_active_map(&cfg, &codec);
} else if (frame_count == 22) {
} else if (frame_count == 11) {
unset_active_map(&cfg, &codec);
}
......
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