[FFmpeg-cvslog] r25384 - trunk/ffmpeg.c

michael subversion
Thu Oct 7 03:57:35 CEST 2010


Author: michael
Date: Thu Oct  7 03:57:35 2010
New Revision: 25384

Log:
Pass RC parameters on stream copy to the muxer.

Modified:
   trunk/ffmpeg.c

Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c	Thu Oct  7 02:32:22 2010	(r25383)
+++ trunk/ffmpeg.c	Thu Oct  7 03:57:35 2010	(r25384)
@@ -2197,6 +2197,8 @@ static int transcode(AVFormatContext **o
             }
 
             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;



More information about the ffmpeg-cvslog mailing list