[SCM] libav/experimental: Set coded_frame->pts in the FLAC encoder
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 17:13:05 UTC 2013
The following commit has been merged in the experimental branch:
commit 871a24f3bf52957c225df36d08c49d7644156cc9
Author: Justin Ruggles <justin.ruggles at gmail.com>
Date: Fri Jul 30 19:18:48 2010 +0000
Set coded_frame->pts in the FLAC encoder
Originally committed as revision 24601 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavcodec/flacenc.c b/libavcodec/flacenc.c
index b23d3a6..889a8d4 100644
--- a/libavcodec/flacenc.c
+++ b/libavcodec/flacenc.c
@@ -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)
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list