--- branches/dev-api-3/vfw/src/config.c 2003/02/12 13:43:47 839 +++ branches/dev-api-3/vfw/src/config.c 2003/02/15 06:33:05 849 @@ -105,6 +105,7 @@ {"dx50bvop", ®.dx50bvop, 1}, {"debug", ®.debug, 0}, {"reduced_resolution", ®.reduced_resolution, 0}, + {"chroma_opt", ®.chroma_opt, 0}, {"frame_drop_ratio", ®.frame_drop_ratio, 0}, {"min_iquant", ®.min_iquant, 2}, @@ -756,6 +757,7 @@ #ifdef _SMP SetDlgItemInt(hDlg, IDC_NUMTHREADS, config->num_threads, FALSE); #endif + CheckDlgButton(hDlg, IDC_CHROMA_OPT, (config->chroma_opt) ? BST_CHECKED : BST_UNCHECKED); SetDlgItemInt(hDlg, IDC_FRAMEDROP, config->frame_drop_ratio, FALSE); SetDlgItemInt(hDlg, IDC_CBR_REACTIONDELAY, config->rc_reaction_delay_factor, FALSE); SetDlgItemInt(hDlg, IDC_CBR_AVERAGINGPERIOD, config->rc_averaging_period, FALSE); @@ -920,6 +922,7 @@ #ifdef _SMP config->num_threads = config_get_uint(hDlg, IDC_NUMTHREADS, config->num_threads); #endif + config->chroma_opt = ISDLGSET(IDC_CHROMA_OPT); config->frame_drop_ratio = config_get_uint(hDlg, IDC_FRAMEDROP, config->frame_drop_ratio); config->rc_reaction_delay_factor = config_get_uint(hDlg, IDC_CBR_REACTIONDELAY, config->rc_reaction_delay_factor); config->rc_averaging_period = config_get_uint(hDlg, IDC_CBR_AVERAGINGPERIOD, config->rc_averaging_period);