projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
097a909
)
frame_thread_encoder: pass frame pict type and quality
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 29 Aug 2012 02:26:59 +0000
(
04:26
+0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 29 Aug 2012 02:26:59 +0000
(
04:26
+0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/frame_thread_encoder.c
patch
|
blob
|
history
diff --git
a/libavcodec/frame_thread_encoder.c
b/libavcodec/frame_thread_encoder.c
index
c584e0b
..
26a41af
100644
(file)
--- 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;