mirror of https://git.ffmpeg.org/ffmpeg.git
schroenc: Set keyframe interval
Originally committed as revision 23027 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
e0a24555b4
commit
3d6fa004e8
|
@ -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…
Reference in New Issue