From 5bc440e7e8963d8986d6876d5513c4419c3dcdf5 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 17 Feb 2008 21:31:39 +0000 Subject: [PATCH] Add notes where known timestamp issues remain. Originally committed as revision 12135 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffmpeg.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ffmpeg.c b/ffmpeg.c index 36d6a293eb..2f43b76c0f 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -544,6 +544,8 @@ static void do_audio_out(AVFormatContext *s, AVPacket pkt; av_init_packet(&pkt); + //FIXME pass ost->sync_opts as AVFrame.pts in avcodec_encode_audio() + ret = avcodec_encode_audio(enc, audio_out, audio_out_size, (short *)audio_buf); audio_size += ret; @@ -588,6 +590,7 @@ static void do_audio_out(AVFormatContext *s, size_out = size_out >> 1; break; } + //FIXME pass ost->sync_opts as AVFrame.pts in avcodec_encode_audio() ret = avcodec_encode_audio(enc, audio_out, size_out, (short *)buftmp); audio_size += ret;