From 3d6fa004e83c0dcd9d9f71fc0c7a3aaf5e95b5ac Mon Sep 17 00:00:00 2001 From: David Conrad Date: Wed, 5 May 2010 21:02:45 +0000 Subject: [PATCH] schroenc: Set keyframe interval Originally committed as revision 23027 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/libschroedingerenc.c | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.7.4