[FFmpeg-cvslog] r12135 - trunk/ffmpeg.c

michael subversion
Sun Feb 17 22:31:40 CET 2008


Author: michael
Date: Sun Feb 17 22:31:39 2008
New Revision: 12135

Log:
Add notes where known timestamp issues remain.


Modified:
   trunk/ffmpeg.c

Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c	(original)
+++ trunk/ffmpeg.c	Sun Feb 17 22:31:39 2008
@@ -544,6 +544,8 @@ static void do_audio_out(AVFormatContext
             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
             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;




More information about the ffmpeg-cvslog mailing list