diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2010-10-07 05:57:35 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2010-10-07 05:57:35 +0400 |
commit | 2dec2bb88074b580d67ecfab037668bed964ae4a (patch) | |
tree | 0bed7db3b27cae5c9ea93133eedfb4002457bbb8 /ffmpeg.c | |
parent | 9b272e327495dcb7110ea4c746adeda09765e099 (diff) |
Pass RC parameters on stream copy to the muxer.
Originally committed as revision 25384 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |