[vlc-devel] commit: Fixed frame rate output value. (Laurent Aimar )

git version control git at videolan.org
Wed Dec 17 21:09:28 CET 2008


vlc | branch: 0.9-bugfix | Laurent Aimar <fenrir at videolan.org> | Sun Dec 14 16:37:09 2008 +0100| [6ef11c7ac8504196308aeaaa6a0b8efbe8bec940] | committer: Jean-Baptiste Kempf 

Fixed frame rate output value.
(cherry picked from commit 14f520d1ae6d7cb9a1cb11b90a4986ac7ae90367)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6ef11c7ac8504196308aeaaa6a0b8efbe8bec940
---

 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 cba209c..a24a9c1 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