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

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

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

revision 1916, Wed Dec 22 15:21:13 2010 UTC revision 1917, Wed Dec 22 16:52:12 2010 UTC
# Line 19  Line 19 
19   *      along with this program; if not, write to the Free Software   *      along with this program; if not, write to the Free Software
20   *      Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.   *      Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21   *   *
22   * $Id: config.c,v 1.43 2010-12-21 20:23:06 Isibaar Exp $   * $Id: config.c,v 1.44 2010-12-22 16:52:12 Isibaar Exp $
23   *   *
24   *************************************************************************/   *************************************************************************/
25    
# Line 869  Line 869 
869                  EnableDlgWindow(hDlg, IDC_TFF, IsDlgChecked(hDlg, IDC_INTERLACING));                  EnableDlgWindow(hDlg, IDC_TFF, IsDlgChecked(hDlg, IDC_INTERLACING));
870                  EnableDlgWindow(hDlg, IDC_QPEL, profiles[profile].flags&PROFILE_QPEL);                  EnableDlgWindow(hDlg, IDC_QPEL, profiles[profile].flags&PROFILE_QPEL);
871                  EnableDlgWindow(hDlg, IDC_GMC, profiles[profile].flags&PROFILE_GMC);                  EnableDlgWindow(hDlg, IDC_GMC, profiles[profile].flags&PROFILE_GMC);
872                    EnableDlgWindow(hDlg, IDC_SLICES, profiles[profile].flags&PROFILE_RESYNCMARKER);
873    
874                  bvops = (profiles[profile].flags&PROFILE_BVOP) && IsDlgChecked(hDlg, IDC_BVOP);                  bvops = (profiles[profile].flags&PROFILE_BVOP) && IsDlgChecked(hDlg, IDC_BVOP);
875                  EnableDlgWindow(hDlg, IDC_MAXBFRAMES,      bvops);                  EnableDlgWindow(hDlg, IDC_MAXBFRAMES,      bvops);
# Line 1188  Line 1189 
1189                  CheckDlg(hDlg, IDC_TFF, config->tff);                  CheckDlg(hDlg, IDC_TFF, config->tff);
1190                  CheckDlg(hDlg, IDC_QPEL, config->qpel);                  CheckDlg(hDlg, IDC_QPEL, config->qpel);
1191                  CheckDlg(hDlg, IDC_GMC, config->gmc);                  CheckDlg(hDlg, IDC_GMC, config->gmc);
1192                    CheckDlg(hDlg, IDC_SLICES, (config->num_slices != 1));
1193                  CheckDlg(hDlg, IDC_BVOP, config->use_bvop);                  CheckDlg(hDlg, IDC_BVOP, config->use_bvop);
1194    
1195                  SetDlgItemInt(hDlg, IDC_MAXBFRAMES, config->max_bframes, FALSE);                  SetDlgItemInt(hDlg, IDC_MAXBFRAMES, config->max_bframes, FALSE);
# Line 1370  Line 1372 
1372                  config->tff = IsDlgChecked(hDlg, IDC_TFF);                  config->tff = IsDlgChecked(hDlg, IDC_TFF);
1373                  config->qpel = IsDlgChecked(hDlg, IDC_QPEL);                  config->qpel = IsDlgChecked(hDlg, IDC_QPEL);
1374                  config->gmc = IsDlgChecked(hDlg, IDC_GMC);                  config->gmc = IsDlgChecked(hDlg, IDC_GMC);
1375                    config->num_slices = (IsDlgChecked(hDlg, IDC_SLICES) ? ((config->num_slices < 2) ? 0 : config->num_slices) : 1);
1376    
1377                  config->use_bvop = IsDlgChecked(hDlg, IDC_BVOP);                  config->use_bvop = IsDlgChecked(hDlg, IDC_BVOP);
1378                  config->max_bframes = config_get_uint(hDlg, IDC_MAXBFRAMES, config->max_bframes);                  config->max_bframes = config_get_uint(hDlg, IDC_MAXBFRAMES, config->max_bframes);

Legend:
Removed from v.1916  
changed lines
  Added in v.1917

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