From: David Conrad Date: Wed, 5 May 2010 21:02:45 +0000 (+0000) Subject: schroenc: Set keyframe interval X-Git-Tag: v0.7b1~4261 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3d6fa004e83c0dcd9d9f71fc0c7a3aaf5e95b5ac;p=platform%2Fupstream%2Flibav.git schroenc: Set keyframe interval Originally committed as revision 23027 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavcodec/libschroedingerenc.c b/libavcodec/libschroedingerenc.c index 2345e09..71ce54c 100644 --- a/libavcodec/libschroedingerenc.c +++ b/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; }