OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27e3418
)
Set coded_frame->pts in the FLAC encoder
author
Justin Ruggles
<justin.ruggles@gmail.com>
Fri, 30 Jul 2010 19:18:48 +0000
(19:18 +0000)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Fri, 30 Jul 2010 19:18:48 +0000
(19:18 +0000)
Originally committed as revision 24601 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/flacenc.c
patch
|
blob
|
history
diff --git
a/libavcodec/flacenc.c
b/libavcodec/flacenc.c
index
b23d3a6
..
889a8d4
100644
(file)
--- 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)