aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorDavid Conrad <lessen42@gmail.com>2010-05-05 21:02:45 +0000
committerDavid Conrad <lessen42@gmail.com>2010-05-05 21:02:45 +0000
commit3d6fa004e83c0dcd9d9f71fc0c7a3aaf5e95b5ac (patch)
tree4cbbf45349d2338e543cd01026c8b883923d32c5 /libavcodec
parente0a24555b43b7e69dcf6ec7c2b3540a0f85f0b12 (diff)
downloadffmpeg-3d6fa004e83c0dcd9d9f71fc0c7a3aaf5e95b5ac.tar.gz
schroenc: Set keyframe interval
Originally committed as revision 23027 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/libschroedingerenc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/libschroedingerenc.c b/libavcodec/libschroedingerenc.c
index 2345e09667..71ce54ca39 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;
}