Commit 8d88ed9a authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/ffv1enc: pass through pts

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent a8bcc956
......@@ -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;
......
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