From: Laurent Aimar Date: Sun, 29 Aug 2004 12:02:50 +0000 (+0000) Subject: * x264: added --ipratio --pbratio in help section. X-Git-Url: http://www.zmx.ovh/git.videolan.org/?a=commitdiff_plain;h=f9bd35a32d8de87c67749c1628ea7693a2b83460;p=x264.git * x264: added --ipratio --pbratio in help section. git-svn-id: svn://svn.videolan.org/x264/trunk@46 df754926-b1dd-0310-bc7b-ec298dee348c --- diff --git a/x264.c b/x264.c index a82fa829..c7c6df96 100644 --- a/x264.c +++ b/x264.c @@ -119,6 +119,8 @@ static void Help( void ) " --rcsens RC sensitivity\n" " --rcbuf Size of VBV buffer\n" " --rcinitbuf Initial VBV buffer occupancy\n" + " --ipratio QP factor between I and P\n" + " --pbratio QP factor between P and B\n" "\n" " -p, --pass <1|2> Enable 2 pass ratecontrol\n" " --stats Filename for 2 pass stats\n" @@ -312,10 +314,10 @@ static int Parse( int argc, char **argv, param->rc.i_rc_sens = atoi(optarg); break; case OPT_IPRATIO: - param->rc.f_ip_factor = atoi(optarg); + param->rc.f_ip_factor = atof(optarg); break; case OPT_PBRATIO: - param->rc.f_pb_factor = atoi(optarg); + param->rc.f_pb_factor = atof(optarg); break; case 'p': {