Commit 2d5c80b2 authored by Michael Niedermayer's avatar Michael Niedermayer

frame_thread_encoder: pass frame pict type and quality

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 097a909e
......@@ -230,6 +230,8 @@ int ff_thread_video_encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVF
if(ret<0)
return ret;
new->pts = frame->pts;
new->quality = frame->quality;
new->pict_type = frame->pict_type;
av_image_copy(new->data, new->linesize, (const uint8_t **)frame->data, frame->linesize,
avctx->pix_fmt, avctx->width, avctx->height);
frame = new;
......
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