Originally committed as revision 4557 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer authored on 2005/09/04 18:04:52... | ... |
@@ -146,6 +146,7 @@ static int oggvorbis_encode_frame(AVCodecContext *avccontext, |
146 | 146 |
|
147 | 147 |
l= op2->bytes; |
148 | 148 |
avccontext->coded_frame->pts= av_rescale_q(op2->granulepos, (AVRational){1, avccontext->sample_rate}, avccontext->time_base); |
149 |
+ //FIXME we should reorder the user supplied pts and not assume that they are spaced by 1/sample_rate |
|
149 | 150 |
|
150 | 151 |
memcpy(packets, op2->packet, l); |
151 | 152 |
context->buffer_index -= l + sizeof(ogg_packet); |