Commit a424adb4 authored by Yusuke Nakamura's avatar Yusuke Nakamura Committed by Fiona Glaser
Browse files

Fix regression in r1406

Bitrate was printed incorrectly for some input framerates.
parent 202938b1
......@@ -1458,7 +1458,7 @@ static int Encode( x264_param_t *param, cli_opt_t *opt )
int64_t second_largest_pts = -1;
int64_t ticks_per_frame;
double duration;
int prev_timebase_den = param->i_timebase_den;
int prev_timebase_den = param->i_timebase_den / gcd( param->i_timebase_num, param->i_timebase_den );
int dts_compress_multiplier;
opt->b_progress &= param->i_log_level < X264_LOG_DEBUG;
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