Fix default reference picture count

The default was 3, instead of the intended 1 of the medium preset.
This commit is contained in:
Ari Koivula 2017-02-13 17:34:03 +02:00
parent d892be51ec
commit 7ff33e1bf2
2 changed files with 1 additions and 2 deletions

View file

@ -69,7 +69,7 @@ int kvz_config_init(kvz_config *cfg)
cfg->vui.chroma_loc = 0; /* left center */
cfg->aud_enable = 0;
cfg->cqmfile = NULL;
cfg->ref_frames = DEFAULT_REF_PIC_COUNT;
cfg->ref_frames = 1;
cfg->gop_len = 4;
cfg->gop_lowdelay = true;
cfg->bipred = 0;

View file

@ -151,7 +151,6 @@ typedef int16_t coeff_t;
#define LCU_CHROMA_SIZE (LCU_WIDTH * LCU_WIDTH >> 2)
#define MAX_REF_PIC_COUNT 16
#define DEFAULT_REF_PIC_COUNT 3
#define AMVP_MAX_NUM_CANDS 2
#define AMVP_MAX_NUM_CANDS_MEM 3