aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2010-10-07 01:57:35 +0000
committerMichael Niedermayer <michaelni@gmx.at>2010-10-07 01:57:35 +0000
commit2dec2bb88074b580d67ecfab037668bed964ae4a (patch)
tree0bed7db3b27cae5c9ea93133eedfb4002457bbb8 /ffmpeg.c
parent9b272e327495dcb7110ea4c746adeda09765e099 (diff)
downloadffmpeg-2dec2bb88074b580d67ecfab037668bed964ae4a.tar.gz
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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 70f4bfd23a..3154eba85d 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;