Commit 871a24f3 authored by Justin Ruggles's avatar Justin Ruggles

Set coded_frame->pts in the FLAC encoder

Originally committed as revision 24601 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 27e34188
...@@ -1317,6 +1317,7 @@ write_frame: ...@@ -1317,6 +1317,7 @@ write_frame:
} }
s->frame_count++; s->frame_count++;
avctx->coded_frame->pts = s->sample_count;
s->sample_count += avctx->frame_size; s->sample_count += avctx->frame_size;
update_md5_sum(s, samples); update_md5_sum(s, samples);
if (out_bytes > s->max_encoded_framesize) if (out_bytes > s->max_encoded_framesize)
......
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