Andraz Tori wrote:
hmmm i've just checked

there has to be a bug in your patch.. %d count and number of arguments
do not match..

Oops, here's a patch for that. The theory here is that if we're doing fixed bit rate, we don't want to start talking about quantization level. Likewise, if we're doing quantization, we don't want to specify a bitrate.

-Brendan

Index: filempeg.C
===================================================================
--- filempeg.C	(revision 733)
+++ filempeg.C	(working copy)
@@ -269,11 +269,11 @@
 
 			if(asset->vmpeg_fix_bitrate)
 			{
-				sprintf(string, " --cbr -b %d", asset->vmpeg_bitrate, 0);
+				sprintf(string, " --cbr -b %d", asset->vmpeg_bitrate);
 			}
 			else
 			{
-				sprintf(string, " -q %d", 0, asset->vmpeg_quantization);
+				sprintf(string, " -q %d", asset->vmpeg_quantization);
 			}
 			strcat(mjpeg_command, string);
 

Reply via email to