[FFmpeg-cvslog] frame_thread_encoder: pass frame pict type and quality
Michael Niedermayer
git at videolan.org
Wed Aug 29 04:31:50 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Aug 29 04:26:59 2012 +0200| [2d5c80b2e856da8a5b3ca4e586384399ff3462a8] | committer: Michael Niedermayer
frame_thread_encoder: pass frame pict type and quality
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2d5c80b2e856da8a5b3ca4e586384399ff3462a8
---
libavcodec/frame_thread_encoder.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavcodec/frame_thread_encoder.c b/libavcodec/frame_thread_encoder.c
index c584e0b..26a41af 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;
More information about the ffmpeg-cvslog
mailing list