]> git.videolan.org Git - x264.git/commitdiff
Print crf-max with appropriate precision in SEI
authorJason Garrett-Glaser <darkshikari@gmail.com>
Mon, 29 Mar 2010 09:14:25 +0000 (02:14 -0700)
committerJason Garrett-Glaser <darkshikari@gmail.com>
Wed, 31 Mar 2010 17:42:37 +0000 (10:42 -0700)
common/common.c

index dec02b85ce3bada885e001dce9cfc957dcc25267..e4c4084fc889ca0c7427d10ed6d922ed8d815bda 100644 (file)
@@ -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 )