Line | Code | Value | Export IDENTIFIER |
67 | if(ext.IsEmpty() || !ext.CompareNoCase(_T("file"))) | file | |
72 | if(!ext.CompareNoCase(_T(".ifo"))) | .ifo | |
78 | if(!ext.CompareNoCase(_T(".cda"))) | .cda | |
91 | if(ERROR_SUCCESS != key.Open(HKEY_CLASSES_ROOT, ext + _T("\\DefaultIcon"), KEY_READ)) | \\DefaultIcon | |
101 | if(ERROR_SUCCESS != key.Open(HKEY_CLASSES_ROOT, ext + _T("\\DefaultIcon"), KEY_READ)) | \\DefaultIcon | |
116 | if(_stscanf(icon.Mid(i+1), _T("%d"), &id) != 1) | %d | |
142 | if(ext.IsEmpty() || !ext.CompareNoCase(_T("file"))) | file | |
215 | m_appname += _T(" (unicode build)"); | (unicode build) | |
300 | _T("Usage: mplayerc.exe \"pathname\" [switches]\n\n") | Usage: mplayerc.exe \"pathname\" [switches]\n\n | |
301 | _T("\"pathname\"\tThe main file or directory to be loaded. (wildcards allowed)\n") | \"pathname\"\tThe main file or directory to be loaded. (wildcards allowed)\n | |
302 | _T("/dub \"dubname\"\tLoad an additional audio file.\n") | /dub \"dubname\"\tLoad an additional audio file.\n | |
303 | _T("/d3dfs start rendering in D3D fullscreen mode.\n") | /d3dfs start rendering in D3D fullscreen mode.\n | |
304 | _T("/sub \"subname\"\tLoad an additional subtitle file.\n") | /sub \"subname\"\tLoad an additional subtitle file.\n | |
305 | _T("/filter \"filtername\"\tLoad DirectShow filters from a dynamic link library. (wildcards allowed)\n") | /filter \"filtername\"\tLoad DirectShow filters from a dynamic link library. (wildcards allowed)\n | |
306 | _T("/dvd\t\tRun in dvd mode, \"pathname\" means the dvd folder (optional).\n") | /dvd\t\tRun in dvd mode, \"pathname\" means the dvd folder (optional).\n | |
307 | _T("/cd\t\tLoad all the tracks of an audio cd or (s)vcd, \"pathname\" means the drive path (optional).\n") | /cd\t\tLoad all the tracks of an audio cd or (s)vcd, \"pathname\" means the drive path (optional).\n | |
308 | _T("/open\t\tOpen the file, don't automatically start playing.\n") | /open\t\tOpen the file, don't automatically start playing.\n | |
309 | _T("/play\t\tStart playing the file as soon the player is launched.\n") | /play\t\tStart playing the file as soon the player is launched.\n | |
310 | _T("/close\t\tClose the player after playback (only works when used with /play).\n") | /close\t\tClose the player after playback (only works when used with /play).\n | |
311 | _T("/shutdown\tShutdown the operating system after playback\n") | /shutdown\tShutdown the operating system after playback\n | |
312 | _T("/fullscreen\tStart in full-screen mode.\n") | /fullscreen\tStart in full-screen mode.\n | |
313 | _T("/minimized\tStart in minimized mode.\n") | /minimized\tStart in minimized mode.\n | |
314 | _T("/new\t\tUse a new instance of the player.\n") | /new\t\tUse a new instance of the player.\n | |
315 | _T("/add\t\tAdd \"pathname\" to playlist, can be combined with /open and /play.\n") | /add\t\tAdd \"pathname\" to playlist, can be combined with /open and /play.\n | |
316 | _T("/regvid\t\tRegister video formats\n") | /regvid\t\tRegister video formats\n | |
317 | _T("/regaud\t\tRegister audio formats\n") | /regaud\t\tRegister audio formats\n | |
318 | _T("/unregvid\t\tUnregister video formats\n") | /unregvid\t\tUnregister video formats\n | |
319 | _T("/unregaud\tUnregister audio formats\n") | /unregaud\tUnregister audio formats\n | |
320 | _T("/start ms\t\tStart playing at \"ms\" (= milliseconds)\n") | /start ms\t\tStart playing at \"ms\" (= milliseconds)\n | |
321 | _T("/fixedsize w,h\tSet fixed window size.\n") | /fixedsize w,h\tSet fixed window size.\n | |
322 | _T("/monitor N\tStart on monitor N, where N starts from 1.\n") | /monitor N\tStart on monitor N, where N starts from 1.\n | |
323 | _T("/help /h /?\tShow help about command line switches. (this message box)\n"); | /help /h /?\tShow help about command line switches. (this message box)\n | |
341 | if(!(f = _tfopen(ini, _T("r+"))) && !(f = _tfopen(ini, _T("w")))) | r+ | |
| | w | |
360 | SetRegistryKey(_T("Gabest")); | Gabest | |
370 | path = path.Left(path.ReverseFind('.')+1) + _T("ini"); | ini | |
385 | if(ERROR_SUCCESS == key.Open(HKEY_CURRENT_USER, _T("Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders"), KEY_READ)) | Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders | |
388 | if(ERROR_SUCCESS == key.QueryStringValue(_T("AppData"), path.GetBuffer(MAX_PATH), &len)) | AppData | |
396 | p.Combine(path, _T("Media Player Classic")); | Media Player Classic | |
530 | TRACE(_T("Oops, somebody was trying to be naughty! (called IsDebuggerPresent)\n")); | Oops, somebody was trying to be naughty! (called IsDebuggerPresent)\n | |
569 | if(vp->Guid == GUIDFromCString(_T("{02C62061-1097-11d1-920F-00A024DF156E}")) | {02C62061-1097-11d1-920F-00A024DF156E} | |
577 | TRACE(_T("Ooops, tv-out enabled? macrovision checks suck...")); | Ooops, tv-out enabled? macrovision checks suck... | |
583 | TRACE(_T("Ooops, as I already told ya, no need for any macrovision bs here")); | Ooops, as I already told ya, no need for any macrovision bs here | |
673 | s.Open(_T("../../subtitles/libssf/demo/demo.ssa"), 1); | ../../subtitles/libssf/demo/demo.ssa | |
686 | s.Open(_T("../../subtitles/libssf/demo/demo.ssf")); | ../../subtitles/libssf/demo/demo.ssf | |
701 | TRACE(_T("%s\n"), e.ToString()); | %s\n | |
739 | AfxMessageBox(_T("OleInitialize failed!")); | OleInitialize failed! | |
756 | AfxMessageBox(_T("MainFrm class registration failed!")); | MainFrm class registration failed! | |
762 | AfxMessageBox(_T("AfxSocketInit failed!")); | AfxSocketInit failed! | |
817 | if(!mf[i].GetLabel().CompareNoCase(_T("Image file"))) continue; | Image file | |
878 | AfxMessageBox(_T("InitInstance failed!")); | InitInstance failed! | |
883 | if(ERROR_SUCCESS == key.Create(HKEY_LOCAL_MACHINE, _T("Software\\Gabest\\Media Player Classic"))) | Software\\Gabest\\Media Player Classic | |
888 | key.SetStringValue(_T("ExePath"), path); | ExePath | |
973 | TRACE(_T("CRemoteCtrlClient (Connect): already connecting to %s\n"), addr); | CRemoteCtrlClient (Connect): already connecting to %s\n | |
979 | TRACE(_T("CRemoteCtrlClient (Connect): already connected to %s\n"), addr); | CRemoteCtrlClient (Connect): already connected to %s\n | |
985 | TRACE(_T("CRemoteCtrlClient (Connect): connecting to %s\n"), addr); | CRemoteCtrlClient (Connect): connecting to %s\n | |
1005 | TRACE(_T("CRemoteCtrlClient (OnConnect): %d\n"), nErrorCode); | CRemoteCtrlClient (OnConnect): %d\n | |
1014 | TRACE(_T("CRemoteCtrlClient (OnClose): connection lost\n")); | CRemoteCtrlClient (OnClose): connection lost\n | |
1019 | TRACE(_T("CRemoteCtrlClient (OnClose): %d\n"), nErrorCode); | CRemoteCtrlClient (OnClose): %d\n | |
1031 | TRACE(_T("CRemoteCtrlClient (OnReceive): %s\n"), CString(str)); | CRemoteCtrlClient (OnReceive): %s\n | |
1056 | TRACE(_T("CRemoteCtrlClient (calling command): %s\n"), wc.name); | CRemoteCtrlClient (calling command): %s\n | |
1071 | TRACE(_T("CWinLircClient (OnCommand): %s\n"), CString(str)); | CWinLircClient (OnCommand): %s\n | |
1093 | TRACE(_T("CUIceClient (OnCommand): %s\n"), CString(str)); | CUIceClient (OnCommand): %s\n | |
1112 | , MRU(0, _T("Recent File List"), _T("File%d"), 20) | Recent File List | |
| | File%d | |
1113 | , MRUDub(0, _T("Recent Dub List"), _T("Dub%d"), 20) | Recent Dub List | |
| | Dub%d | |
1134 | ADDCMD((ID_PLAY_PAUSE, 0, FVIRTKEY|FNOINVERT, _T("Pause"))); | Pause | |
1156 | ADDCMD((ID_VIEW_CAPTIONMENU, '0', FVIRTKEY|FCONTROL|FNOINVERT, _T("Toggle Caption&Menu"))); | Toggle Caption&Menu | |
1157 | ADDCMD((ID_VIEW_SEEKER, '1', FVIRTKEY|FCONTROL|FNOINVERT, _T("Toggle Seeker"))); | Toggle Seeker | |
1158 | ADDCMD((ID_VIEW_CONTROLS, '2', FVIRTKEY|FCONTROL|FNOINVERT, _T("Toggle Controls"))); | Toggle Controls | |
1159 | ADDCMD((ID_VIEW_INFORMATION, '3', FVIRTKEY|FCONTROL|FNOINVERT, _T("Toggle Information"))); | Toggle Information | |
1160 | ADDCMD((ID_VIEW_STATISTICS, '4', FVIRTKEY|FCONTROL|FNOINVERT, _T("Toggle Statistics"))); | Toggle Statistics | |
1161 | ADDCMD((ID_VIEW_STATUS, '5', FVIRTKEY|FCONTROL|FNOINVERT, _T("Toggle Status"))); | Toggle Status | |
1162 | ADDCMD((ID_VIEW_SUBRESYNC, '6', FVIRTKEY|FCONTROL|FNOINVERT, _T("Toggle Subresync Bar"))); | Toggle Subresync Bar | |
1163 | ADDCMD((ID_VIEW_PLAYLIST, '7', FVIRTKEY|FCONTROL|FNOINVERT, _T("Toggle Playlist Bar"))); | Toggle Playlist Bar | |
1164 | ADDCMD((ID_VIEW_CAPTURE, '8', FVIRTKEY|FCONTROL|FNOINVERT, _T("Toggle Capture Bar"))); | Toggle Capture Bar | |
1165 | ADDCMD((ID_VIEW_SHADEREDITOR, '9', FVIRTKEY|FCONTROL|FNOINVERT, _T("Toggle Shader Editor Bar"))); | Toggle Shader Editor Bar | |
1171 | ADDCMD((ID_VIEW_ZOOM_50, '1', FVIRTKEY|FALT|FNOINVERT, _T("Zoom 50%"))); | Zoom 50% | |
1172 | ADDCMD((ID_VIEW_ZOOM_100, '2', FVIRTKEY|FALT|FNOINVERT, _T("Zoom 100%"))); | Zoom 100% | |
1173 | ADDCMD((ID_VIEW_ZOOM_200, '3', FVIRTKEY|FALT|FNOINVERT, _T("Zoom 200%"))); | Zoom 200% | |
1175 | ADDCMD((ID_ASPECTRATIO_NEXT, 0, FVIRTKEY|FNOINVERT, _T("Next AR Preset"))); | Next AR Preset | |
1179 | ADDCMD((ID_VIEW_VF_STRETCH, 0, FVIRTKEY|FNOINVERT, _T("VidFrm Stretch"))); | VidFrm Stretch | |
1180 | ADDCMD((ID_VIEW_VF_FROMINSIDE, 0, FVIRTKEY|FNOINVERT, _T("VidFrm Inside"))); | VidFrm Inside | |
1181 | ADDCMD((ID_VIEW_VF_FROMOUTSIDE, 0, FVIRTKEY|FNOINVERT, _T("VidFrm Outside"))); | VidFrm Outside | |
1183 | ADDCMD((ID_VIEW_RESET, VK_NUMPAD5, FVIRTKEY|FNOINVERT, _T("PnS Reset"))); | PnS Reset | |
1199 | ADDCMD((ID_PANSCAN_ROTATEXP, VK_NUMPAD8, FVIRTKEY|FALT|FNOINVERT, _T("PnS Rotate X+"))); | PnS Rotate X+ | |
1200 | ADDCMD((ID_PANSCAN_ROTATEXM, VK_NUMPAD2, FVIRTKEY|FALT|FNOINVERT, _T("PnS Rotate X-"))); | PnS Rotate X- | |
1201 | ADDCMD((ID_PANSCAN_ROTATEYP, VK_NUMPAD4, FVIRTKEY|FALT|FNOINVERT, _T("PnS Rotate Y+"))); | PnS Rotate Y+ | |
1202 | ADDCMD((ID_PANSCAN_ROTATEYM, VK_NUMPAD6, FVIRTKEY|FALT|FNOINVERT, _T("PnS Rotate Y-"))); | PnS Rotate Y- | |
1203 | ADDCMD((ID_PANSCAN_ROTATEZP, VK_NUMPAD1, FVIRTKEY|FALT|FNOINVERT, _T("PnS Rotate Z+"))); | PnS Rotate Z+ | |
1204 | ADDCMD((ID_PANSCAN_ROTATEZM, VK_NUMPAD3, FVIRTKEY|FALT|FNOINVERT, _T("PnS Rotate Z-"))); | PnS Rotate Z- | |
1250 | ADDCMD((ID_VIEW_TEARING_TEST, 'T', FVIRTKEY|FCONTROL|FNOINVERT, _T("Tearing Test"))); | Tearing Test | |
1252 | ADDCMD((ID_SHADER_TOGGLE, 'P', FVIRTKEY|FCONTROL|FNOINVERT, _T("Toggle Pixel Shader"))); | Toggle Pixel Shader | |
1355 | _stscanf (strVal+(i*2), _T("%02x"), &lRes); | %02x | |
1367 | strTemp.Format (_T("%02x"), pBuffer[i]); | %02x | |
1460 | strTemp.Format (_T("%f"), dBrightness); | %f | |
1462 | strTemp.Format (_T("%f"), dContrast); | %f | |
1464 | strTemp.Format (_T("%f"), dHue); | %f | |
1466 | strTemp.Format (_T("%f"), dSaturation); | %f | |
1485 | strDVDPos.Format (_T("DVD Position %d"), i); | DVD Position %d | |
1496 | strFilePos.Format (_T("File Name %d"), i); | File Name %d | |
1498 | strFilePos.Format (_T("File Position %d"), i); | File Position %d | |
1499 | strValue.Format (_T("%I64d"), FilePosition[i].llPosition); | %I64d | |
1511 | key.Format(_T("%s\\%04d"), ResStr(IDS_R_FILTERS), i); | %s\\%04d | |
1512 | int j = pApp->GetProfileInt(key, _T("Enabled"), -1); | Enabled | |
1527 | key.Format(_T("%s\\%04d"), ResStr(IDS_R_FILTERS), i); | %s\\%04d | |
1529 | pApp->WriteProfileInt(key, _T("SourceType"), (int)f->type); | SourceType | |
1530 | pApp->WriteProfileInt(key, _T("Enabled"), (int)!f->fDisabled); | Enabled | |
1533 | pApp->WriteProfileString(key, _T("DisplayName"), CString(f->dispname)); | DisplayName | |
1534 | pApp->WriteProfileString(key, _T("Name"), f->name); | Name | |
1538 | pApp->WriteProfileString(key, _T("Path"), f->path); | Path | |
1539 | pApp->WriteProfileString(key, _T("Name"), f->name); | Name | |
1540 | pApp->WriteProfileString(key, _T("CLSID"), CStringFromGUID(f->clsid)); | CLSID | |
1546 | val.Format(_T("org%04d"), i); | org%04d | |
1553 | val.Format(_T("mod%04d"), i); | mod%04d | |
1556 | pApp->WriteProfileInt(key, _T("LoadType"), f->iLoadType); | LoadType | |
1557 | pApp->WriteProfileInt(key, _T("Merit"), f->dwMerit); | Merit | |
1570 | str.Format(_T("Preset%d"), i); | Preset%d | |
1582 | str.Format(_T("CommandMod%d"), i); | CommandMod%d | |
1584 | str2.Format(_T("%d %x %x %s %d %d %d"), | %d %x %x %s %d %d %d | |
1641 | pApp->WriteProfileString(_T("Shaders"), NULL, NULL); | Shaders | |
1642 | pApp->WriteProfileInt(_T("Shaders"), _T("Initialized"), 1); | Shaders | |
| | Initialized | |
1643 | pApp->WriteProfileString(_T("Shaders"), _T("Combine"), m_shadercombine); | Shaders | |
| | Combine | |
1653 | index.Format(_T("%d"), i); | %d | |
1655 | srcdata.Replace(_T("\r"), _T("")); | \r | |
1656 | srcdata.Replace(_T("\n"), _T("\\n")); | \\n | |
1657 | srcdata.Replace(_T("\t"), _T("\\t")); | \\t | |
1658 | AfxGetApp()->WriteProfileString(_T("Shaders"), index, s.label + _T("|") + s.target + _T("|") + srcdata); | Shaders | |
1679 | if(ERROR_SUCCESS == dxver.Open(HKEY_LOCAL_MACHINE, _T("SOFTWARE\\Microsoft\\DirectX"), KEY_READ)) | SOFTWARE\\Microsoft\\DirectX | |
1683 | if(ERROR_SUCCESS == dxver.QueryStringValue(_T("Version"), str.GetBuffer(len), &len)) | Version | |
1687 | _stscanf(str, _T("%d.%d.%d.%d"), ver+0, ver+1, ver+2, ver+3); | %d.%d.%d.%d | |
1815 | key.Format(_T("%s\\%04d"), ResStr(IDS_R_FILTERS), i); | %s\\%04d | |
1819 | f->fDisabled = !pApp->GetProfileInt(key, _T("Enabled"), 0); | Enabled | |
1821 | UINT j = pApp->GetProfileInt(key, _T("SourceType"), -1); | SourceType | |
1825 | f->dispname = CStringW(pApp->GetProfileString(key, _T("DisplayName"), _T(""))); | DisplayName | |
1826 | f->name = pApp->GetProfileString(key, _T("Name"), _T("")); | Name | |
1831 | f->path = pApp->GetProfileString(key, _T("Path"), _T("")); | Path | |
1832 | f->name = pApp->GetProfileString(key, _T("Name"), _T("")); | Name | |
1833 | f->clsid = GUIDFromCString(pApp->GetProfileString(key, _T("CLSID"), _T(""))); | CLSID | |
1845 | val.Format(_T("org%04d"), i); | org%04d | |
1855 | val.Format(_T("mod%04d"), i); | mod%04d | |
1861 | f->iLoadType = (int)pApp->GetProfileInt(key, _T("LoadType"), -1); | LoadType | |
1864 | f->dwMerit = pApp->GetProfileInt(key, _T("Merit"), MERIT_DO_NOT_USE+1); | Merit | |
1880 | str.Format(_T("Preset%d"), i); | Preset%d | |
1893 | str.Format(_T("Scale to 16:9 TV,%.3f,%.3f,%.3f,%.3f"), 0.5, 0.5, _4p3/_4p3, _16p9/_4p3); | Scale to 16:9 TV,%.3f,%.3f,%.3f,%.3f | |
1895 | str.Format(_T("Zoom To Widescreen,%.3f,%.3f,%.3f,%.3f"), 0.5, 0.5, _16p9/_4p3, _16p9/_4p3); | Zoom To Widescreen,%.3f,%.3f,%.3f,%.3f | |
1897 | str.Format(_T("Zoom To Ultra-Widescreen,%.3f,%.3f,%.3f,%.3f"), 0.5, 0.5, _235p1/_4p3, _235p1/_4p3); | Zoom To Ultra-Widescreen,%.3f,%.3f,%.3f,%.3f | |
1904 | str.Format(_T("CommandMod%d"), i); | CommandMod%d | |
1910 | if(5 > (n = _stscanf(str, _T("%d %x %x %s %d %d %d"), &cmd, &fVirt, &key, buff, &repcnt, &mouse, &appcmd))) | %d %x %x %s %d %d %d | |
1967 | WebRoot = pApp->GetProfileString(ResStr(IDS_R_SETTINGS), ResStr(IDS_RS_WEBROOT), _T("*./webroot")); | *./webroot | |
1968 | WebDefIndex = pApp->GetProfileString(ResStr(IDS_R_SETTINGS), ResStr(IDS_RS_WEBDEFINDEX), _T("index.html;index.php")); | index.html;index.php | |
1977 | if(ERROR_SUCCESS == key.Open(HKEY_CURRENT_USER, _T("Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders"), KEY_READ)) | Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders | |
1980 | if(ERROR_SUCCESS == key.QueryStringValue(_T("My Pictures"), MyPictures.GetBuffer(MAX_PATH), &len)) MyPictures.ReleaseBufferSetLength(len); | My Pictures | |
1984 | SnapShotExt = pApp->GetProfileString(ResStr(IDS_R_SETTINGS), ResStr(IDS_RS_SNAPSHOTEXT), _T(".jpg")); | .jpg | |
1990 | ISDb = pApp->GetProfileString(ResStr(IDS_R_SETTINGS), ResStr(IDS_RS_ISDB), _T("www.opensubtitles.org/isdb")); | www.opensubtitles.org/isdb | |
1992 | pApp->WriteProfileInt(ResStr(IDS_R_SETTINGS), _T("LastUsedPage"), 0); | LastUsedPage | |
2001 | shaders[_T("contour")] = IDF_SHADER_CONTOUR; | contour | |
2002 | shaders[_T("deinterlace (blend)")] = IDF_SHADER_DEINTERLACE; | deinterlace (blend) | |
2003 | shaders[_T("edge sharpen")] = IDF_SHADER_EDGE_SHARPEN; | edge sharpen | |
2004 | shaders[_T("emboss")] = IDF_SHADER_EMBOSS; | emboss | |
2005 | shaders[_T("grayscale")] = IDF_SHADER_GRAYSCALE; | grayscale | |
2006 | shaders[_T("invert")] = IDF_SHADER_INVERT; | invert | |
2007 | shaders[_T("letterbox")] = IDF_SHADER_LETTERBOX; | letterbox | |
2008 | shaders[_T("nightvision")] = IDF_SHADER_NIGHTVISION; | nightvision | |
2009 | shaders[_T("procamp")] = IDF_SHADER_PROCAMP; | procamp | |
2010 | shaders[_T("sharpen")] = IDF_SHADER_SHARPEN; | sharpen | |
2011 | shaders[_T("sharpen complex")] = IDF_SHADER_SHARPEN_COMPLEX; | sharpen complex | |
2012 | shaders[_T("sphere")] = IDF_SHADER_SPHERE; | sphere | |
2013 | shaders[_T("spotlight")] = IDF_SHADER_SPOTLIGHT; | spotlight | |
2014 | shaders[_T("wave")] = IDF_SHADER_WAVE; | wave | |
2015 | shaders[_T("denoise")] = IDF_SHADER_DENOISE; | denoise | |
2022 | str.Format(_T("%d"), iShader); | %d | |
2023 | str = pApp->GetProfileString(_T("Shaders"), str); | Shaders | |
2034 | s.srcdata.Replace(_T("\\n"), _T("\n")); | \\n | |
2035 | s.srcdata.Replace(_T("\\t"), _T("\t")); | \\t | |
2047 | if(LoadResource(pPair->m_value, srcdata, _T("FILE"))) | FILE | |
2051 | s.target = _T("ps_2_0"); | ps_2_0 | |
2078 | strDVDPos.Format (_T("DVD Position %d"), i); | DVD Position %d | |
2094 | strFilePos.Format (_T("File Name %d"), i); | File Name %d | |
2097 | strFilePos.Format (_T("File Position %d"), i); | File Position %d | |
2109 | m_shadercombine = pApp->GetProfileString(_T("Shaders"), _T("Combine"), _T("")); | Shaders | |
| | Combine | |
2140 | if(sw == _T("open")) nCLSwitches |= CLSW_OPEN; | open | |
2141 | else if(sw == _T("play")) nCLSwitches |= CLSW_PLAY; | play | |
2142 | else if(sw == _T("fullscreen")) nCLSwitches |= CLSW_FULLSCREEN; | fullscreen | |
2143 | else if(sw == _T("minimized")) nCLSwitches |= CLSW_MINIMIZED; | minimized | |
2144 | else if(sw == _T("new")) nCLSwitches |= CLSW_NEW; | new | |
2145 | else if(sw == _T("help") || sw == _T("h") || sw == _T("?")) nCLSwitches |= CLSW_HELP; | help | |
| | h | |
2146 | else if(sw == _T("dub") && pos) slDubs.AddTail(cmdln.GetNext(pos)); | dub | |
2147 | else if(sw == _T("dubdelay") && pos) | dubdelay | |
2150 | int nPos = strFile.Find (_T("DELAY")); | DELAY | |
2155 | else if(sw == _T("sub") && pos) slSubs.AddTail(cmdln.GetNext(pos)); | sub | |
2156 | else if(sw == _T("filter") && pos) slFilters.AddTail(cmdln.GetNext(pos)); | filter | |
2157 | else if(sw == _T("dvd")) nCLSwitches |= CLSW_DVD; | dvd | |
2158 | else if(sw == _T("cd")) nCLSwitches |= CLSW_CD; | cd | |
2159 | else if(sw == _T("add")) nCLSwitches |= CLSW_ADD; | add | |
2160 | else if(sw == _T("regvid")) nCLSwitches |= CLSW_REGEXTVID; | regvid | |
2161 | else if(sw == _T("regaud")) nCLSwitches |= CLSW_REGEXTAUD; | regaud | |
2162 | else if(sw == _T("unregvid")) nCLSwitches |= CLSW_UNREGEXTVID; | unregvid | |
2163 | else if(sw == _T("unregaud")) nCLSwitches |= CLSW_UNREGEXTAUD; | unregaud | |
2164 | else if(sw == _T("start") && pos) {rtStart = 10000i64*_tcstol(cmdln.GetNext(pos), NULL, 10); nCLSwitches |= CLSW_STARTVALID;} | start | |
2165 | else if(sw == _T("startpos") && pos) {/* TODO: mm:ss. */;} | startpos | |
2166 | else if(sw == _T("nofocus")) nCLSwitches |= CLSW_NOFOCUS; | nofocus | |
2167 | else if(sw == _T("close")) nCLSwitches |= CLSW_CLOSE; | close | |
2168 | else if(sw == _T("standby")) nCLSwitches |= CLSW_STANDBY; | standby | |
2169 | else if(sw == _T("hibernate")) nCLSwitches |= CLSW_HIBERNATE; | hibernate | |
2170 | else if(sw == _T("shutdown")) nCLSwitches |= CLSW_SHUTDOWN; | shutdown | |
2171 | else if(sw == _T("logoff")) nCLSwitches |= CLSW_LOGOFF; | logoff | |
2172 | else if(sw == _T("installpn31")) nCLSwitches |= CLSW_INSTALLPN31; | installpn31 | |
2173 | else if(sw == _T("uninstallpn31")) nCLSwitches |= CLSW_UNINSTALLPN31; | uninstallpn31 | |
2174 | else if(sw == _T("d3dfs")) nCLSwitches |= CLSW_D3DFULLSCREEN; | d3dfs | |
2175 | else if(sw == _T("adminoption")) { nCLSwitches |= CLSW_ADMINOPTION; iAdminOption = _ttoi (cmdln.GetNext(pos)); } | adminoption | |
2176 | else if(sw == _T("slave")) | slave | |
2181 | else if(sw == _T("fixedsize") && pos) | fixedsize | |
2192 | else if(sw == _T("monitor") && pos) {iMonitor = _tcstol(cmdln.GetNext(pos), NULL, 10); nCLSwitches |= CLSW_MONITOR;} | monitor | |
2219 | s.Format(_T("Name%d"), i); | Name%d | |
2245 | s.Format(_T("Name%d"), i++); | Name%d | |
2278 | if(CString(lpszPathName).MakeLower().Find(_T("@device:")) >= 0) | @device: | |
2382 | url.Format(_T("%.*s"), szEnd - szStart, szStart); | %.*s | |
2385 | if(url.CompareNoCase(_T("asf path")) == 0) continue; | asf path | |
2431 | fn2.Format(_T("%.*s"), szEnd - szStart, szStart); | %.*s | |
2434 | if(!fn2.CompareNoCase(_T("asf path"))) continue; | asf path | |
2435 | if(fn2.Find(_T("EXTM3U")) == 0 || fn2.Find(_T("#EXTINF")) == 0) continue; | EXTM3U | |
| | #EXTINF | |
2463 | if(_tcsicmp(url.GetSchemeName(), _T("pnm")) == 0) | pnm | |
2466 | if(_tcsicmp(url.GetSchemeName(), _T("mms")) == 0) | mms | |
2469 | if(_tcsicmp(url.GetSchemeName(), _T("http")) != 0) | http | |
2478 | if(ERROR_SUCCESS == key.Open(HKEY_CURRENT_USER, _T("Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings"), KEY_READ) | Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings | |
2479 | && ERROR_SUCCESS == key.QueryDWORDValue(_T("ProxyEnable"), ProxyEnable) && ProxyEnable | ProxyEnable | |
2480 | && ERROR_SUCCESS == key.QueryStringValue(_T("ProxyServer"), ProxyServer.GetBufferSetLength(256), &len)) | ProxyServer | |
2492 | if(!Explode(sl.GetNext(pos), sl2, '=', 2).CompareNoCase(_T("http")) | http | |
2524 | // MessageBox(NULL, CString(hdr), _T("Sending..."), MB_OK); | Sending... | |
2539 | // MessageBox(NULL, CString(hdr), _T("Received..."), MB_OK); | Received... | |
2577 | if(redir && (ct == _T("audio/x-scpls") || ct == _T("audio/x-mpegurl"))) | audio/x-scpls | |
| | audio/x-mpegurl | |
2593 | if(ext == _T(".asx")) ct = _T("video/x-ms-asf"); | .asx | |
| | video/x-ms-asf | |
2594 | else if(ext == _T(".pls")) ct = _T("audio/x-scpls"); | .pls | |
| | audio/x-scpls | |
2595 | else if(ext == _T(".m3u")) ct = _T("audio/x-mpegurl"); | .m3u | |
| | audio/x-mpegurl | |
2596 | else if(ext == _T(".qtl")) ct = _T("application/x-quicktimeplayer"); | .qtl | |
| | application/x-quicktimeplayer | |
2597 | else if(ext == _T(".mpcpl")) ct = _T("application/x-mpc-playlist"); | .mpcpl | |
| | application/x-mpc-playlist | |
2599 | if(FILE* f = _tfopen(fn, _T("rb"))) | rb | |
2623 | if(ct == _T("video/x-ms-asf")) | video/x-ms-asf | |
2627 | if(re && REPARSE_ERROR_OK == re->Parse(_T("{[a-zA-Z]+://[^\n\">]*}"), FALSE)) | {[a-zA-Z]+://[^\n\">]*} | |
2631 | if(re && REPARSE_ERROR_OK == re->Parse(_T("Ref\\z\\b*=\\b*[\"]*{([a-zA-Z]+://[^\n\"]+}"), FALSE)) | Ref\\z\\b*=\\b*[\"]*{([a-zA-Z]+://[^\n\"]+} | |
2634 | else if(ct == _T("audio/x-scpls")) | audio/x-scpls | |
2638 | if(re && REPARSE_ERROR_OK == re->Parse(_T("file\\z\\b*=\\b*[\"]*{[^\n\"]+}"), FALSE)) | file\\z\\b*=\\b*[\"]*{[^\n\"]+} | |
2641 | else if(ct == _T("audio/x-mpegurl")) | audio/x-mpegurl | |
2646 | if(re && REPARSE_ERROR_OK == re->Parse(_T("{[^#][^\n]+}"), FALSE)) | {[^#][^\n]+} | |
2649 | else if(ct == _T("audio/x-pn-realaudio")) | audio/x-pn-realaudio | |
2653 | if(re && REPARSE_ERROR_OK == re->Parse(_T("{rtsp://[^\n]+}"), FALSE)) | {rtsp://[^\n]+} | |
2709 | m_strD3DX9Version.Format(_T("d3dx9_%d.dll"), i); | d3dx9_%d.dll | |
2728 | return _T("mpcresources.fr.dll"); | mpcresources.fr.dll | |
2730 | return _T("mpcresources.de.dll"); | mpcresources.de.dll | |
2732 | return _T("mpcresources.ru.dll"); | mpcresources.ru.dll | |
2734 | return _T("mpcresources.tr.dll"); | mpcresources.tr.dll | |
2736 | return _T("mpcresources.cz.dll"); | mpcresources.cz.dll | |
2738 | return _T("mpcresources.es.dll"); | mpcresources.es.dll | |
2740 | return _T("mpcresources.hu.dll"); | mpcresources.hu.dll | |
2742 | return _T("mpcresources.kr.dll"); | mpcresources.kr.dll | |
2744 | return _T("mpcresources.pl.dll"); | mpcresources.pl.dll | |
2746 | return _T("mpcresources.ua.dll"); | mpcresources.ua.dll | |
2748 | return _T("mpcresources.it.dll"); | mpcresources.it.dll | |
2750 | return _T("mpcresources.sk.dll"); | mpcresources.sk.dll | |
2778 | MessageBox (NULL, _T("Your language pack will not work with this version. Please download a compatible one from the MPC-HC homepage."), | Your language pack will not work with this version. Please download a compatible one from the MPC-HC homepage. | |
2779 | _T("Media Player Classic - Homecinema"), MB_OK); | Media Player Classic - Homecinema | |
2810 | if(ERROR_SUCCESS == key.Open(HKEY_CLASSES_ROOT, _T("CLSID\\{083863F1-70DE-11d0-BD40-00A0C911CE86}\\Instance\\{9852A670-F845-491B-9BE6-EBD841B8A613}"), KEY_READ)) { | CLSID\\{083863F1-70DE-11d0-BD40-00A0C911CE86}\\Instance\\{9852A670-F845-491B-9BE6-EBD841B8A613} | |
2863 | execinfo.lpVerb = _T("runas"); | runas | |
| | | |