]> git.videolan.org Git - x264.git/commitdiff
Set psy=0 in lossless mode
authorAnton Mitrofanov <BugMaster@narod.ru>
Tue, 13 Apr 2010 15:55:12 +0000 (19:55 +0400)
committerJason Garrett-Glaser <darkshikari@gmail.com>
Wed, 14 Apr 2010 09:31:41 +0000 (02:31 -0700)
Doesn't actually affect output, just what's written in the SEI.

encoder/encoder.c

index e9f297fb703ec4f646aa7a7a83a4a4638e0bbed8..300041e7e8e366ec9b04214ec8f3bff2dd17fe2a 100644 (file)
@@ -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 )