[FFmpeg-cvslog] r24601 - trunk/libavcodec/flacenc.c

jbr subversion
Fri Jul 30 21:18:48 CEST 2010


Author: jbr
Date: Fri Jul 30 21:18:48 2010
New Revision: 24601

Log:
Set coded_frame->pts in the FLAC encoder

Modified:
   trunk/libavcodec/flacenc.c

Modified: trunk/libavcodec/flacenc.c
==============================================================================
--- trunk/libavcodec/flacenc.c	Fri Jul 30 21:02:59 2010	(r24600)
+++ trunk/libavcodec/flacenc.c	Fri Jul 30 21:18:48 2010	(r24601)
@@ -1317,6 +1317,7 @@ write_frame:
     }
 
     s->frame_count++;
+    avctx->coded_frame->pts = s->sample_count;
     s->sample_count += avctx->frame_size;
     update_md5_sum(s, samples);
     if (out_bytes > s->max_encoded_framesize)



More information about the ffmpeg-cvslog mailing list