[SCM] libav/experimental: Pass RC parameters on stream copy to the muxer.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:17:11 UTC 2013


The following commit has been merged in the experimental branch:
commit 2dec2bb88074b580d67ecfab037668bed964ae4a
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Thu Oct 7 01:57:35 2010 +0000

    Pass RC parameters on stream copy to the muxer.
    
    Originally committed as revision 25384 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/ffmpeg.c b/ffmpeg.c
index 70f4bfd..3154eba 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2197,6 +2197,8 @@ static int transcode(AVFormatContext **output_files,
             }
 
             codec->bit_rate = icodec->bit_rate;
+            codec->rc_max_rate    = icodec->rc_max_rate;
+            codec->rc_buffer_size = icodec->rc_buffer_size;
             codec->extradata= av_mallocz(extra_size);
             if (!codec->extradata)
                 goto fail;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list