schroenc: Set keyframe interval

Originally committed as revision 23027 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
David Conrad 2010-05-05 21:02:45 +00:00
parent e0a24555b4
commit 3d6fa004e8
1 changed files with 2 additions and 0 deletions

View File

@ -153,6 +153,8 @@ static int libschroedinger_encode_init(AVCodecContext *avccontext)
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;
}