mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avcodec/ffv1enc: pass through pts
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
a8bcc956fd
commit
8d88ed9a1f
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user