x264_param_default( ¶m );
- /* Temporarily default mbtree to off for baseline,
+ /* Default weightp to off for baseline,
overridable through x264 option strings. */
if( job->x264opts != NULL && *job->x264opts != '\0' )
{
{
if( atoi( value ) == 0 )
{
- param.rc.b_mb_tree = 0;
+ param.analyse.i_weighted_pred = X264_WEIGHTP_NONE;
}
}
}
{
job->areBframes = 2;
}
+ if( value == NULL || !strcmp( value, "1" ) )
+ {
+ value = "normal";
+ }
+ else if( !strcmp( value, "0" ) )
+ {
+ value = "none";
+ }
}
/* Here's where the strings are passed to libx264 for parsing. */