Commit 3d6fa004 authored by David Conrad's avatar David Conrad

schroenc: Set keyframe interval

Originally committed as revision 23027 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent e0a24555
......@@ -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;
}
......
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