Commit 14f520d1 authored by Laurent Aimar's avatar Laurent Aimar

Fixed frame rate output value.

parent 75813fcf
...@@ -151,8 +151,8 @@ static inline picture_t *ffmpeg_NewPictBuf( decoder_t *p_dec, ...@@ -151,8 +151,8 @@ static inline picture_t *ffmpeg_NewPictBuf( decoder_t *p_dec,
} }
} }
if( p_dec->fmt_out.video.i_frame_rate > 0 && if( p_dec->fmt_in.video.i_frame_rate > 0 &&
p_dec->fmt_out.video.i_frame_rate_base > 0 ) p_dec->fmt_in.video.i_frame_rate_base > 0 )
{ {
p_dec->fmt_out.video.i_frame_rate = p_dec->fmt_out.video.i_frame_rate =
p_dec->fmt_in.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