[svn] / branches / dev-api-4 / xvidcore / dshow / src / CAbout.cpp Repository:
ViewVC logotype

Diff of /branches/dev-api-4/xvidcore/dshow/src/CAbout.cpp

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

revision 1340, Thu Jan 29 07:06:04 2004 UTC revision 1341, Fri Jan 30 03:21:20 2004 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., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
21   *   *
22   * $Id: CAbout.cpp,v 1.1.2.6 2004-01-26 05:49:42 syskin Exp $   * $Id: CAbout.cpp,v 1.1.2.7 2004-01-30 03:21:20 syskin Exp $
23   *   *
24   ****************************************************************************/   ****************************************************************************/
25    
# Line 64  Line 64 
64          REG_SET_N("FilmEffect", PPSettings.nFilmEffect);          REG_SET_N("FilmEffect", PPSettings.nFilmEffect);
65          REG_SET_N("ForceColorspace", PPSettings.nForceColorspace);          REG_SET_N("ForceColorspace", PPSettings.nForceColorspace);
66          REG_SET_N("FlipVideo", PPSettings.nFlipVideo);          REG_SET_N("FlipVideo", PPSettings.nFlipVideo);
67            REG_SET_N("Supported_4CC",  supported_4cc);
68    
69          RegCloseKey(hKey);          RegCloseKey(hKey);
70  }  }
# Line 130  Line 131 
131                  SendMessage(GetDlgItem(hwnd, IDC_FILMEFFECT), BM_SETCHECK, PPSettings.nFilmEffect, 0);                  SendMessage(GetDlgItem(hwnd, IDC_FILMEFFECT), BM_SETCHECK, PPSettings.nFilmEffect, 0);
132                  SendMessage(GetDlgItem(hwnd, IDC_FLIPVIDEO), BM_SETCHECK, PPSettings.nFlipVideo, 0);                  SendMessage(GetDlgItem(hwnd, IDC_FLIPVIDEO), BM_SETCHECK, PPSettings.nFlipVideo, 0);
133    
134                    // 4CC checkbuttons
135                    SendMessage(GetDlgItem(hwnd, IDC_DIVX), BM_SETCHECK, supported_4cc & SUPPORT_DIVX, 0);
136                    SendMessage(GetDlgItem(hwnd, IDC_DX50), BM_SETCHECK, supported_4cc & SUPPORT_DX50, 0);
137                    SendMessage(GetDlgItem(hwnd, IDC_MP4V), BM_SETCHECK, supported_4cc & SUPPORT_MP4V, 0);
138    
139                  // Set Date & Time of Compilation                  // Set Date & Time of Compilation
140                  DPRINTF("(%s %s)", __DATE__, __TIME__);                  DPRINTF("(%s %s)", __DATE__, __TIME__);
141                  break;                  break;
# Line 173  Line 179 
179                          PPSettings.nFlipVideo = !PPSettings.nFlipVideo;                          PPSettings.nFlipVideo = !PPSettings.nFlipVideo;
180                          SaveRegistryInfo();                          SaveRegistryInfo();
181                          break;                          break;
182                    case IDC_DIVX:
183                            supported_4cc ^= SUPPORT_DIVX;
184                            SaveRegistryInfo();
185                            break;
186                    case IDC_DX50:
187                            supported_4cc ^= SUPPORT_DX50;
188                            SaveRegistryInfo();
189                            break;
190                    case IDC_MP4V:
191                            supported_4cc ^= SUPPORT_MP4V;
192                            SaveRegistryInfo();
193                            break;
194                  }                  }
195                  break;                  break;
196          case WM_NOTIFY:          case WM_NOTIFY:
# Line 183  Line 201 
201          }          }
202          return CBasePropertyPage::OnReceiveMessage(hwnd, uMsg, wParam, lParam);          return CBasePropertyPage::OnReceiveMessage(hwnd, uMsg, wParam, lParam);
203  }  }
204    

Legend:
Removed from v.1340  
changed lines
  Added in v.1341

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