mirror of https://git.ffmpeg.org/ffmpeg.git
pass noise reduction option to x264
patch by Erik Slagter <erik at slagter name> Originally committed as revision 5040 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
b0ec9efd7a
commit
277fe2294f
|
@ -222,6 +222,7 @@ X264_init(AVCodecContext *avctx)
|
||||||
x4->params.analyse.b_fast_pskip = (avctx->flags2 & CODEC_FLAG2_FASTPSKIP);
|
x4->params.analyse.b_fast_pskip = (avctx->flags2 & CODEC_FLAG2_FASTPSKIP);
|
||||||
|
|
||||||
x4->params.analyse.i_trellis = avctx->trellis;
|
x4->params.analyse.i_trellis = avctx->trellis;
|
||||||
|
x4->params.analyse.i_noise_reduction = avctx->noise_reduction;
|
||||||
|
|
||||||
if(avctx->level > 0) x4->params.i_level_idc = avctx->level;
|
if(avctx->level > 0) x4->params.i_level_idc = avctx->level;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue