Commit 8665fe8b authored by Gildas Bazin's avatar Gildas Bazin

* modules/stream_out/transcode.c: got rid of useless nearbyint().

parent 07b7a3bf
......@@ -733,7 +733,7 @@ static sout_stream_id_t *Add( sout_stream_t *p_stream, es_format_t *p_fmt )
if( p_sys->f_fps > 0 )
{
id->p_encoder->fmt_out.video.i_frame_rate =
nearbyint(p_sys->f_fps * 1001);
(p_sys->f_fps * 1001) + 0.5;
id->p_encoder->fmt_out.video.i_frame_rate_base = 1001;
}
}
......
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