From: Jason Garrett-Glaser Date: Mon, 29 Mar 2010 09:14:25 +0000 (-0700) Subject: Print crf-max with appropriate precision in SEI X-Git-Url: http://www.zmx.ovh/git.videolan.org/?a=commitdiff_plain;h=d8d8e7ea3043adc292ce97851eaec057d002dc59;p=x264.git Print crf-max with appropriate precision in SEI --- diff --git a/common/common.c b/common/common.c index dec02b85..e4c4084f 100644 --- a/common/common.c +++ b/common/common.c @@ -1257,7 +1257,7 @@ char *x264_param2string( x264_param_t *p, int b_res ) s += sprintf( s, " vbv_maxrate=%d vbv_bufsize=%d", p->rc.i_vbv_max_bitrate, p->rc.i_vbv_buffer_size ); if( p->rc.i_rc_method == X264_RC_CRF ) - s += sprintf( s, " crf-max=%f", p->rc.f_rf_constant_max ); + s += sprintf( s, " crf-max=%.1f", p->rc.f_rf_constant_max ); } } else if( p->rc.i_rc_method == X264_RC_CQP )