Browse Source

schroenc: Set keyframe interval

Originally committed as revision 23027 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/n0.8
David Conrad 16 years ago
parent
commit
3d6fa004e8
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavcodec/libschroedingerenc.c

+ 2
- 0
libavcodec/libschroedingerenc.c View File

@@ -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;
}



Loading…
Cancel
Save