OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b272e3
)
Pass RC parameters on stream copy to the muxer.
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 7 Oct 2010 01:57:35 +0000
(
01:57
+0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 7 Oct 2010 01:57:35 +0000
(
01:57
+0000)
Originally committed as revision 25384 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffmpeg.c
patch
|
blob
|
history
diff --git
a/ffmpeg.c
b/ffmpeg.c
index
70f4bfd
..
3154eba
100644
(file)
--- 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;