--- branches/dev-api-4/xvidcore/vfw/src/config.c 2003/12/01 13:16:43 1234 +++ branches/dev-api-4/xvidcore/vfw/src/config.c 2003/12/05 14:44:35 1242 @@ -180,6 +180,7 @@ /* 2pass2 */ {"keyframe_boost", ®.keyframe_boost, 0}, {"kfreduction", ®.kfreduction, 20}, + {"kfthreshold", ®.kfthreshold, 1}, {"curve_compression_high", ®.curve_compression_high, 0}, {"curve_compression_low", ®.curve_compression_low, 0}, {"overflow_control_strength", ®.overflow_control_strength, 10}, @@ -192,7 +193,6 @@ {"chromame", ®.chromame, 0}, {"cartoon_mode", ®.cartoon_mode, 0}, {"max_key_interval", ®.max_key_interval, 300}, - {"min_key_interval", ®.min_key_interval, 1}, {"frame_drop_ratio", ®.frame_drop_ratio, 0}, /* quant */ @@ -797,7 +797,7 @@ SetDlgItemInt(hDlg, IDC_CURVECOMPH, config->curve_compression_high, FALSE); SetDlgItemInt(hDlg, IDC_CURVECOMPL, config->curve_compression_low, FALSE); - SetDlgItemInt(hDlg, IDC_MINKEY, config->min_key_interval, FALSE); + SetDlgItemInt(hDlg, IDC_MINKEY, config->kfthreshold, FALSE); break; case IDD_ZONE : @@ -917,7 +917,7 @@ CONSTRAINVAL(config->curve_compression_high, 0, 100); CONSTRAINVAL(config->curve_compression_low, 0, 100); - config->min_key_interval = config_get_uint(hDlg, IDC_MINKEY, config->min_key_interval); + config->kfthreshold = config_get_uint(hDlg, IDC_MINKEY, config->kfthreshold); break;