Commit 30fda434 authored by Fiona Glaser's avatar Fiona Glaser

Print crf-max with appropriate precision in SEI

parent dab0ee2f
......@@ -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 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment