[vlc-devel] commit: Fixed frame rate output value. (Laurent Aimar )
git version control
git at videolan.org
Sun Dec 14 16:40:09 CET 2008
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sun Dec 14 16:37:09 2008 +0100| [14f520d1ae6d7cb9a1cb11b90a4986ac7ae90367] | committer: Laurent Aimar
Fixed frame rate output value.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=14f520d1ae6d7cb9a1cb11b90a4986ac7ae90367
---
modules/codec/avcodec/video.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/codec/avcodec/video.c b/modules/codec/avcodec/video.c
index fffa754..fe44dd5 100644
--- a/modules/codec/avcodec/video.c
+++ b/modules/codec/avcodec/video.c
@@ -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;
More information about the vlc-devel
mailing list