Export qscale so that postprocessing works.
Originally committed as revision 14008 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
de7bdf58f4
commit
2f3b1b801a
@ -203,8 +203,8 @@ static int decode_frame(AVCodecContext *avctx,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// p->quality= (32 + a->inv_qscale/2)/a->inv_qscale;
|
p->quality= a->qscale * FF_QP2LAMBDA;
|
||||||
// memset(p->qscale_table, p->quality, p->qstride*a->mb_height);
|
memset(p->qscale_table, a->qscale, p->qstride*a->mb_height);
|
||||||
|
|
||||||
*picture= *(AVFrame*)&a->picture;
|
*picture= *(AVFrame*)&a->picture;
|
||||||
*data_size = sizeof(AVPicture);
|
*data_size = sizeof(AVPicture);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user