提交 16beae15 编写于 作者: M Michael Niedermayer

setting timebase in the encoder doesnt seem like a good idea

Originally committed as revision 4547 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 1ff8f2b3
......@@ -92,8 +92,6 @@ static int oggvorbis_encode_init(AVCodecContext *avccontext) {
vorbis_comment_clear(&context->vc);
avccontext->frame_size = OGGVORBIS_FRAME_SIZE ;
avccontext->time_base.den = avccontext->sample_rate;
avccontext->time_base.num = 1;
avccontext->coded_frame= avcodec_alloc_frame();
avccontext->coded_frame->key_frame= 1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册