diff options
author | David Conrad <lessen42@gmail.com> | 2010-05-05 21:02:45 +0000 |
---|---|---|
committer | David Conrad <lessen42@gmail.com> | 2010-05-05 21:02:45 +0000 |
commit | 3d6fa004e83c0dcd9d9f71fc0c7a3aaf5e95b5ac (patch) | |
tree | 4cbbf45349d2338e543cd01026c8b883923d32c5 /libavcodec | |
parent | e0a24555b43b7e69dcf6ec7c2b3540a0f85f0b12 (diff) | |
download | ffmpeg-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.c | 2 |
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; } |