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:
Erik Slagter 2006-02-20 19:01:29 +00:00 committed by Måns Rullgård
parent b0ec9efd7a
commit 277fe2294f
1 changed files with 1 additions and 0 deletions

View File

@ -222,6 +222,7 @@ X264_init(AVCodecContext *avctx)
x4->params.analyse.b_fast_pskip = (avctx->flags2 & CODEC_FLAG2_FASTPSKIP);
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;