From 0f9244199fa24ea50b79f3e0873da4641a7cec46 Mon Sep 17 00:00:00 2001 From: Anton Mitrofanov Date: Tue, 13 Apr 2010 19:55:12 +0400 Subject: [PATCH] Set psy=0 in lossless mode Doesn't actually affect output, just what's written in the SEI. --- encoder/encoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/encoder/encoder.c b/encoder/encoder.c index e9f297fb..300041e7 100644 --- a/encoder/encoder.c +++ b/encoder/encoder.c @@ -467,7 +467,7 @@ static int x264_validate_parameters( x264_t *h ) h->param.analyse.i_trellis = 0; h->param.analyse.b_fast_pskip = 0; h->param.analyse.i_noise_reduction = 0; - h->param.analyse.f_psy_rd = 0; + h->param.analyse.b_psy = 0; h->param.i_bframe = 0; /* 8x8dct is not useful at all in CAVLC lossless */ if( !h->param.b_cabac ) -- 2.47.3