[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 1592, Mon Jan 10 05:01:01 2005 UTC revision 1594, Mon Jan 10 06:07:07 2005 UTC
# Line 1001  Line 1001 
1001                          if (vsize > 0) {                          if (vsize > 0) {
1002                                  SetDlgItemInt(hDlg, IDC_BITRATE_VSIZE, vsize, TRUE);                                  SetDlgItemInt(hDlg, IDC_BITRATE_VSIZE, vsize, TRUE);
1003                                  /* convert from kbytes to kbits-per-second */                                  /* convert from kbytes to kbits-per-second */
1004                                  SetDlgItemInt(hDlg, IDC_BITRATE_VRATE, (int)((__int64)vsize * 8 * 128) / (duration * 125), TRUE);                                  SetDlgItemInt(hDlg, IDC_BITRATE_VRATE, (int)(((__int64)vsize * 8 * 128) / (duration * 125)), TRUE);
1005                          }else{                          }else{
1006                                  SetDlgItemText(hDlg, IDC_BITRATE_VSIZE, "Overflow");                                  SetDlgItemText(hDlg, IDC_BITRATE_VSIZE, "Overflow");
1007                                  SetDlgItemText(hDlg, IDC_BITRATE_VRATE, "Overflow");                                  SetDlgItemText(hDlg, IDC_BITRATE_VRATE, "Overflow");
# Line 1707  Line 1707 
1707          if (s->chroma_opt)          if (s->chroma_opt)
1708                  strcat(tmp, "O ");                  strcat(tmp, "O ");
1709    
1710          if (s->chroma_opt)          if (s->cartoon_mode)
1711                  strcat(tmp, "C ");                  strcat(tmp, "C ");
1712    
1713          ListView_SetItemText(hDlg, i, 2, tmp);          ListView_SetItemText(hDlg, i, 2, tmp);

Legend:
Removed from v.1592  
changed lines
  Added in v.1594

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