schroenc: Set keyframe interval

Originally committed as revision 23027 to svn://svn.ffmpeg.org/ffmpeg/trunk
oldabi
David Conrad 15 years ago
parent e0a24555b4
commit 3d6fa004e8
  1. 2
      libavcodec/libschroedingerenc.c

@ -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;
}

Loading…
Cancel
Save