aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-02-17 21:31:39 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-02-17 21:31:39 +0000
commit5bc440e7e8963d8986d6876d5513c4419c3dcdf5 (patch)
treea916425863d2fd7743a5d9948abfcb9e3a63a97c
parent48291040ea28698efa707c002cff87c2f288e771 (diff)
downloadffmpeg-5bc440e7e8963d8986d6876d5513c4419c3dcdf5.tar.gz
Add notes where known timestamp issues remain.
Originally committed as revision 12135 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--ffmpeg.c3
1 files changed, 3 insertions, 0 deletions
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;