Commit 6d864472 authored by michael's avatar michael

Add notes where known timestamp issues remain.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12135 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 1a28d9e7
...@@ -544,6 +544,8 @@ static void do_audio_out(AVFormatContext *s, ...@@ -544,6 +544,8 @@ static void do_audio_out(AVFormatContext *s,
AVPacket pkt; AVPacket pkt;
av_init_packet(&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, ret = avcodec_encode_audio(enc, audio_out, audio_out_size,
(short *)audio_buf); (short *)audio_buf);
audio_size += ret; audio_size += ret;
...@@ -588,6 +590,7 @@ static void do_audio_out(AVFormatContext *s, ...@@ -588,6 +590,7 @@ static void do_audio_out(AVFormatContext *s,
size_out = size_out >> 1; size_out = size_out >> 1;
break; break;
} }
//FIXME pass ost->sync_opts as AVFrame.pts in avcodec_encode_audio()
ret = avcodec_encode_audio(enc, audio_out, size_out, ret = avcodec_encode_audio(enc, audio_out, size_out,
(short *)buftmp); (short *)buftmp);
audio_size += ret; audio_size += ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment