OSDN Git Service

libvorbis expects kbps, not bps.
authorsaintdev <saintdev@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Wed, 27 Feb 2008 04:24:51 +0000 (04:24 +0000)
committersaintdev <saintdev@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Wed, 27 Feb 2008 04:24:51 +0000 (04:24 +0000)
git-svn-id: svn://localhost/HandBrake/trunk@1318 b64f7644-9d1e-0410-96f1-a4d463321fa5

libhb/encvorbis.c

index d5b9a74..b94366e 100644 (file)
@@ -80,7 +80,7 @@ int encvorbisInit( hb_work_object_t * w, hb_job_t * job )
         hb_log( "encvorbis: vorbis_encode_ctl( ratemanage2_get ) failed" );
     }
 
-    ctl_rate_arg.bitrate_average_kbps = 1000 * job->abitrate;
+    ctl_rate_arg.bitrate_average_kbps = job->abitrate;
     ctl_rate_arg.management_active = 1;
 
     if( vorbis_encode_ctl( &pv->vi, OV_ECTL_RATEMANAGE2_SET, &ctl_rate_arg ) ||