53 |
REG_GET_N("FlipVideo", g_config.nFlipVideo, 0) |
REG_GET_N("FlipVideo", g_config.nFlipVideo, 0) |
54 |
REG_GET_N("Supported_4CC", g_config.supported_4cc, 0) |
REG_GET_N("Supported_4CC", g_config.supported_4cc, 0) |
55 |
REG_GET_N("Videoinfo_Compat", g_config.videoinfo_compat, 0) |
REG_GET_N("Videoinfo_Compat", g_config.videoinfo_compat, 0) |
56 |
REG_GET_N("Aspect_Ratio", g_config.aspect_ratio, 0) |
REG_GET_N("Decoder_Aspect_Ratio", g_config.aspect_ratio, 0) |
57 |
|
|
58 |
RegCloseKey(hKey); |
RegCloseKey(hKey); |
59 |
} |
} |
88 |
REG_SET_N("FlipVideo", g_config.nFlipVideo); |
REG_SET_N("FlipVideo", g_config.nFlipVideo); |
89 |
REG_SET_N("Supported_4CC", g_config.supported_4cc); |
REG_SET_N("Supported_4CC", g_config.supported_4cc); |
90 |
REG_SET_N("Videoinfo_Compat", g_config.videoinfo_compat); |
REG_SET_N("Videoinfo_Compat", g_config.videoinfo_compat); |
91 |
REG_SET_N("Aspect_Ratio", g_config.aspect_ratio); |
REG_SET_N("Decoder_Aspect_Ratio", g_config.aspect_ratio); |
92 |
|
|
93 |
RegCloseKey(hKey); |
RegCloseKey(hKey); |
94 |
} |
} |
109 |
nForceColorspace = SendMessage(GetDlgItem(hwnd, IDC_COLORSPACE), CB_GETCURSEL, 0, 0); |
nForceColorspace = SendMessage(GetDlgItem(hwnd, IDC_COLORSPACE), CB_GETCURSEL, 0, 0); |
110 |
if ( g_config.nForceColorspace != nForceColorspace ) |
if ( g_config.nForceColorspace != nForceColorspace ) |
111 |
{ |
{ |
112 |
MessageBox(0, "You have changed the output colorspace.\r\nClose the movie and open it for the new colorspace to take effect.", "XviD DShow", MB_TOPMOST); |
MessageBox(0, "You have changed the output colorspace.\r\nClose the movie and open it for the new colorspace to take effect.", "Xvid DShow", MB_TOPMOST); |
113 |
} |
} |
114 |
g_config.nForceColorspace = nForceColorspace; |
g_config.nForceColorspace = nForceColorspace; |
115 |
|
|
116 |
aspect_ratio = SendMessage(GetDlgItem(hwnd, IDC_USE_AR), CB_GETCURSEL, 0, 0); |
aspect_ratio = SendMessage(GetDlgItem(hwnd, IDC_USE_AR), CB_GETCURSEL, 0, 0); |
117 |
if ( g_config.aspect_ratio != aspect_ratio ) |
if ( g_config.aspect_ratio != aspect_ratio ) |
118 |
{ |
{ |
119 |
MessageBox(0, "You have changed the default aspect ratio.\r\nClose the movie and open it for the new aspect ratio to take effect.", "XviD DShow", MB_TOPMOST); |
MessageBox(0, "You have changed the default aspect ratio.\r\nClose the movie and open it for the new aspect ratio to take effect.", "Xvid DShow", MB_TOPMOST); |
120 |
} |
} |
121 |
g_config.aspect_ratio = aspect_ratio; |
g_config.aspect_ratio = aspect_ratio; |
122 |
SaveRegistryInfo(); |
SaveRegistryInfo(); |