Commit 6ef11c7a authored by Laurent Aimar's avatar Laurent Aimar Committed by Jean-Baptiste Kempf

Fixed frame rate output value.

(cherry picked from commit 14f520d1)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 40a42de8
......@@ -151,8 +151,8 @@ static inline picture_t *ffmpeg_NewPictBuf( decoder_t *p_dec,
}
}
if( p_dec->fmt_out.video.i_frame_rate > 0 &&
p_dec->fmt_out.video.i_frame_rate_base > 0 )
if( p_dec->fmt_in.video.i_frame_rate > 0 &&
p_dec->fmt_in.video.i_frame_rate_base > 0 )
{
p_dec->fmt_out.video.i_frame_rate =
p_dec->fmt_in.video.i_frame_rate;
......
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