diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2010-07-30 19:18:48 +0000 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2010-07-30 19:18:48 +0000 |
commit | 871a24f3bf52957c225df36d08c49d7644156cc9 (patch) | |
tree | 37d8f3cebdb5163939311c8fe69780a4a1b51b60 /libavcodec/flacenc.c | |
parent | 27e3418844aea51e9d8a8c145871f422504a6598 (diff) | |
download | ffmpeg-871a24f3bf52957c225df36d08c49d7644156cc9.tar.gz |
Set coded_frame->pts in the FLAC encoder
Originally committed as revision 24601 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/flacenc.c')
-rw-r--r-- | libavcodec/flacenc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/flacenc.c b/libavcodec/flacenc.c index b23d3a6c97..889a8d4a78 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) |