Changeset 3d353c9e2704e7b02de167015c93702bccc01e22

Show
Ignore:
Timestamp:
04/08/06 20:14:40 (2 years ago)
Author:
Loren Merritt <pengvado@videolan.org>
git-committer:
Loren Merritt <pengvado@videolan.org> 1154715280 +0000
git-parent:

[afee2b7a19b5d9d9d849ca91f2c0b1c05d948d08]

git-author:
Loren Merritt <pengvado@videolan.org> 1154715280 +0000
Message:

fix the crf option to reflect x264's API change in its revision 537

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/codec/x264.c

    raa0e6bd r3d353c9  
    796796    var_Get( p_enc, SOUT_CFG_PREFIX "crf", &val );  
    797797    if( val.i_int >= 0 && val.i_int <= 51 ) /* crf != 0 overrides qp */ 
     798    { 
    798799        p_sys->param.rc.i_rf_constant = val.i_int; 
     800#if X264_BUILD >= 48 
     801        p_sys->param.rc.i_rc_method = X264_RC_CRF; 
     802#endif 
     803    } 
    799804#endif 
    800805