aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/frame_thread_encoder.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-08-29 04:26:59 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-08-29 04:26:59 +0200
commit2d5c80b2e856da8a5b3ca4e586384399ff3462a8 (patch)
treefd0d2500a38ac4a78d83abe058092cef1f342195 /libavcodec/frame_thread_encoder.c
parent097a909ea126b165809b43227e74d99c14f783cc (diff)
downloadffmpeg-2d5c80b2e856da8a5b3ca4e586384399ff3462a8.tar.gz
frame_thread_encoder: pass frame pict type and quality
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/frame_thread_encoder.c')
-rw-r--r--libavcodec/frame_thread_encoder.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/frame_thread_encoder.c b/libavcodec/frame_thread_encoder.c
index c584e0b36a..26a41afaad 100644
--- a/libavcodec/frame_thread_encoder.c
+++ b/libavcodec/frame_thread_encoder.c
@@ -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;