Commit f9bd35a3 authored by Laurent Aimar's avatar Laurent Aimar

* x264: added --ipratio --pbratio in help section.


git-svn-id: svn://svn.videolan.org/x264/trunk@46 df754926-b1dd-0310-bc7b-ec298dee348c
parent 8c6f6fa0
......@@ -119,6 +119,8 @@ static void Help( void )
" --rcsens <integer> RC sensitivity\n"
" --rcbuf <integer> Size of VBV buffer\n"
" --rcinitbuf <integer> Initial VBV buffer occupancy\n"
" --ipratio <float> QP factor between I and P\n"
" --pbratio <float> QP factor between P and B\n"
"\n"
" -p, --pass <1|2> Enable 2 pass ratecontrol\n"
" --stats <string> 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':
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment