[Ffmpeg-cvslog] r7641 - trunk/ffmpeg.c

bcoudurier subversion
Mon Jan 22 11:01:14 CET 2007


Author: bcoudurier
Date: Mon Jan 22 11:01:14 2007
New Revision: 7641

Modified:
   trunk/ffmpeg.c

Log:
do not override rc_buffer_occupancy if set

Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c	(original)
+++ trunk/ffmpeg.c	Mon Jan 22 11:01:14 2007
@@ -2868,7 +2868,8 @@
             if(p) p++;
         }
         video_enc->rc_override_count=i;
-        video_enc->rc_initial_buffer_occupancy = video_enc->rc_buffer_size*3/4;
+        if (!video_enc->rc_initial_buffer_occupancy)
+            video_enc->rc_initial_buffer_occupancy = video_enc->rc_buffer_size*3/4;
         video_enc->me_threshold= me_threshold;
         video_enc->intra_dc_precision= intra_dc_precision - 8;
         video_enc->strict_std_compliance = strict;




More information about the ffmpeg-cvslog mailing list