Mercurial > libavcodec.hg
changeset 11682:5173cc26d42f libavcodec
schroenc: Set keyframe interval
author | conrad |
---|---|
date | Wed, 05 May 2010 21:02:45 +0000 |
parents | 04c086666e50 |
children | 83d14d771e80 |
files | libschroedingerenc.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libschroedingerenc.c Wed May 05 21:02:41 2010 +0000 +++ b/libschroedingerenc.c Wed May 05 21:02:45 2010 +0000 @@ -153,6 +153,8 @@ schro_encoder_setting_set_double(p_schro_params->encoder, "enable_noarith", 1); } else { + schro_encoder_setting_set_double(p_schro_params->encoder, + "au_distance", avccontext->gop_size); avccontext->has_b_frames = 1; }