[SCM] libav/experimental: 10l to whoever wrote this (wrong fps, fixes nirvana.nuv)

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:55:48 UTC 2013


The following commit has been merged in the experimental branch:
commit 8643594ce3953da2b8d7712f36adfbad453a4622
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Wed Jan 31 11:24:04 2007 +0000

    10l to whoever wrote this (wrong fps, fixes nirvana.nuv)
    
    Originally committed as revision 7781 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/nuv.c b/libavformat/nuv.c
index 31f02b2..7e04222 100644
--- a/libavformat/nuv.c
+++ b/libavformat/nuv.c
@@ -154,7 +154,7 @@ static int nuv_header(AVFormatContext *s, AVFormatParameters *ap) {
         vst->codec->height = height;
         vst->codec->bits_per_sample = 10;
         vst->codec->sample_aspect_ratio = av_d2q(aspect, 10000);
-        vst->r_frame_rate = av_d2q(1.0 / fps, 10000);
+        vst->r_frame_rate = av_d2q(fps, 60000);
         av_set_pts_info(vst, 32, 1, 1000);
     } else
         ctx->v_id = -1;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list