[svn] / trunk / vfw / src / config.c Repository:
ViewVC logotype

Diff of /trunk/vfw/src/config.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 295, Fri Jul 12 12:26:55 2002 UTC revision 324, Sun Jul 21 03:49:47 2002 UTC
# Line 96  Line 96 
96          {"packed",                                      &reg.packed,                                    0},          {"packed",                                      &reg.packed,                                    0},
97          {"dx50bvop",                            &reg.dx50bvop,                                  0},          {"dx50bvop",                            &reg.dx50bvop,                                  0},
98          {"debug",                                       &reg.debug,                                             0},          {"debug",                                       &reg.debug,                                             0},
99            {"frame_drop_ratio",            &reg.frame_drop_ratio,                  0},
100  #endif  #endif
101    
102          {"min_iquant",                          &reg.min_iquant,                                1},          {"min_iquant",                          &reg.min_iquant,                                1},
# Line 717  Line 718 
718                  SetDlgItemInt(hDlg, IDC_NUMTHREADS, config->num_threads, FALSE);                  SetDlgItemInt(hDlg, IDC_NUMTHREADS, config->num_threads, FALSE);
719  #endif  #endif
720    
721    #ifdef BFRAMES
722                    SetDlgItemInt(hDlg, IDC_FRAMEDROP, config->frame_drop_ratio, FALSE);
723    #endif
724    
725                  SetDlgItemInt(hDlg, IDC_CBR_REACTIONDELAY, config->rc_reaction_delay_factor, FALSE);                  SetDlgItemInt(hDlg, IDC_CBR_REACTIONDELAY, config->rc_reaction_delay_factor, FALSE);
726                  SetDlgItemInt(hDlg, IDC_CBR_AVERAGINGPERIOD, config->rc_averaging_period, FALSE);                  SetDlgItemInt(hDlg, IDC_CBR_AVERAGINGPERIOD, config->rc_averaging_period, FALSE);
727                  SetDlgItemInt(hDlg, IDC_CBR_BUFFER, config->rc_buffer, FALSE);                  SetDlgItemInt(hDlg, IDC_CBR_BUFFER, config->rc_buffer, FALSE);
# Line 865  Line 870 
870  #ifdef _SMP  #ifdef _SMP
871                  config->num_threads = config_get_uint(hDlg, IDC_NUMTHREADS, config->num_threads);                  config->num_threads = config_get_uint(hDlg, IDC_NUMTHREADS, config->num_threads);
872  #endif  #endif
873    #ifdef BFRAMES
874                    config->frame_drop_ratio = config_get_uint(hDlg, IDC_FRAMEDROP, config->frame_drop_ratio);
875    #endif
876    
877                  config->rc_reaction_delay_factor = config_get_uint(hDlg, IDC_CBR_REACTIONDELAY, config->rc_reaction_delay_factor);                  config->rc_reaction_delay_factor = config_get_uint(hDlg, IDC_CBR_REACTIONDELAY, config->rc_reaction_delay_factor);
878                  config->rc_averaging_period = config_get_uint(hDlg, IDC_CBR_AVERAGINGPERIOD, config->rc_averaging_period);                  config->rc_averaging_period = config_get_uint(hDlg, IDC_CBR_AVERAGINGPERIOD, config->rc_averaging_period);
# Line 1100  Line 1108 
1108                          SendDlgItemMessage(hDlg, IDC_CURVETYPE, CB_ADDSTRING, 0, (LPARAM)"Medium");                          SendDlgItemMessage(hDlg, IDC_CURVETYPE, CB_ADDSTRING, 0, (LPARAM)"Medium");
1109                          SendDlgItemMessage(hDlg, IDC_CURVETYPE, CB_ADDSTRING, 0, (LPARAM)"High");                          SendDlgItemMessage(hDlg, IDC_CURVETYPE, CB_ADDSTRING, 0, (LPARAM)"High");
1110                  }                  }
 #ifndef _SMP  
1111                  else if (psi->page == DLG_CPU)                  else if (psi->page == DLG_CPU)
1112                  {                  {
1113    #ifndef _SMP
1114    
1115                          EnableWindow(GetDlgItem(hDlg, IDC_NUMTHREADS_STATIC), FALSE);                          EnableWindow(GetDlgItem(hDlg, IDC_NUMTHREADS_STATIC), FALSE);
1116                          EnableWindow(GetDlgItem(hDlg, IDC_NUMTHREADS), FALSE);                          EnableWindow(GetDlgItem(hDlg, IDC_NUMTHREADS), FALSE);
                 }  
1117  #endif  #endif
1118    #ifndef BFRAMES
1119                            EnableWindow(GetDlgItem(hDlg, IDC_FRAMEDROP_STATIC), FALSE);
1120                            EnableWindow(GetDlgItem(hDlg, IDC_FRAMEDROP), FALSE);
1121    #endif
1122                    }
1123    
1124                  if (hTooltip)                  if (hTooltip)
1125                  {                  {

Legend:
Removed from v.295  
changed lines
  Added in v.324

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4