You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avcodec/ffv1enc: pass through pts
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user