Commit 549b115a authored by Yusuke Nakamura's avatar Yusuke Nakamura Committed by Fiona Glaser

Fix 10L: Remove needless error check

This error check was for cfr input + --timebase, but that doesn't happen, and brings about a bug with vfr input.
parent 9fbcc12a
......@@ -1214,12 +1214,6 @@ generic_option:
}
opt->timebase_convert_multiplier = ((double)i_user_timebase_den / param->i_timebase_den)
* ((double)param->i_timebase_num / i_user_timebase_num);
if( opt->timebase_convert_multiplier < 1 )
{
fprintf( stderr, "x264 [error]: timebase you specified will generate nonmonotonic pts: %d/%d\n",
i_user_timebase_num, i_user_timebase_den );
return -1;
}
param->i_timebase_num = i_user_timebase_num;
param->i_timebase_den = i_user_timebase_den;
param->b_vfr_input = 1;
......
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