summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-11-02 22:52:19 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-11-02 22:52:52 +0100
commit8d88ed9a1fb446184275bce006915a593943f95b (patch)
treef320803c1577c9af9208d91cfcba8b82c61309d4 /libavcodec
parenta8bcc956fd6608fc8acd0ab78ed48cb756c08825 (diff)
avcodec/ffv1enc: pass through pts
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/ffv1enc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/ffv1enc.c b/libavcodec/ffv1enc.c
index 59d2869dc1..a000ddb4fd 100644
--- 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;