Commit 11b04dc1 authored by Gildas Bazin's avatar Gildas Bazin

* src/input/es_out.c: reduce the frame rate rational in es_out_Add().

parent 6e69de35
......@@ -678,6 +678,11 @@ static es_out_id_t *EsOutAdd( es_out_t *out, es_format_t *fmt )
case VIDEO_ES:
es->i_channel = p_sys->i_video;
if( fmt->video.i_frame_rate && fmt->video.i_frame_rate_base )
vlc_reduce( &es->fmt.video.i_frame_rate,
&es->fmt.video.i_frame_rate_base,
fmt->video.i_frame_rate,
fmt->video.i_frame_rate_base, 0 );
break;
case SPU_ES:
......
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