setting timebase in the encoder doesnt seem like a good idea

Originally committed as revision 4547 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2005-09-02 17:12:16 +00:00
parent 1ff8f2b36a
commit 16beae15f3
1 changed files with 0 additions and 2 deletions

View File

@ -92,8 +92,6 @@ static int oggvorbis_encode_init(AVCodecContext *avccontext) {
vorbis_comment_clear(&context->vc); vorbis_comment_clear(&context->vc);
avccontext->frame_size = OGGVORBIS_FRAME_SIZE ; 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= avcodec_alloc_frame();
avccontext->coded_frame->key_frame= 1; avccontext->coded_frame->key_frame= 1;