git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8bcc95
)
avcodec/ffv1enc: pass through pts
author
Michael Niedermayer
<michaelni@gmx.at>
Sat, 2 Nov 2013 21:52:19 +0000
(22:52 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sat, 2 Nov 2013 21:52:52 +0000
(22:52 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/ffv1enc.c
patch
|
blob
|
history
diff --git
a/libavcodec/ffv1enc.c
b/libavcodec/ffv1enc.c
index
59d2869
..
a000ddb
100644
(file)
--- a/
libavcodec/ffv1enc.c
+++ b/
libavcodec/ffv1enc.c
@@
-1184,6
+1184,8
@@
static int encode_frame(AVCodecContext *avctx, AVPacket *pkt,
f->picture_number++;
pkt->size = buf_p - pkt->data;
+ pkt->pts =
+ pkt->dts = pict->pts;
pkt->flags |= AV_PKT_FLAG_KEY * p->key_frame;
*got_packet = 1;