aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorErik Slagter <erik@slagter.name>2006-02-20 19:01:29 +0000
committerMåns Rullgård <mans@mansr.com>2006-02-20 19:01:29 +0000
commit277fe2294f4f49af773ed20108772e3d62752e05 (patch)
treeb88499a78a4b30a80fb49f34399722effa47efcd /libavcodec
parentb0ec9efd7a8d935335e4692d5483130133a2ca25 (diff)
downloadffmpeg-277fe2294f4f49af773ed20108772e3d62752e05.tar.gz
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
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/x264.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/x264.c b/libavcodec/x264.c
index 43d4eb8096..ddd29e7484 100644
--- a/libavcodec/x264.c
+++ b/libavcodec/x264.c
@@ -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;