[Bug 39266] New: Microsoft Wine Guide does not play video files with .cp extension
https://bugs.winehq.org/show_bug.cgi?id=39266 Bug ID: 39266 Summary: Microsoft Wine Guide does not play video files with .cp extension Product: Wine Version: 1.7.51 Hardware: x86-64 OS: Linux Status: NEW Keywords: win16 Severity: normal Priority: P2 Component: winmm&mci Assignee: wine-bugs(a)winehq.org Reporter: 00cpxxx(a)gmail.com Distribution: --- Currently while trying to detect a media type (video, audio file, cd audio) wine assumes that when the file comes from a CD (GetDriveType() == CDROM) the path must be a cd audio file.
From dlls/winmm/mci.c:
1794 /* type, if given as a parameter, supersedes file extension */ 1795 if (!strDevTyp[0] && 1796 MCI_GetDevTypeFromFileName(lpParms->lpstrElementName, 1797 strDevTyp, sizeof(strDevTyp))) { 1798 static const WCHAR wszCdAudio[] = {'C','D','A','U','D','I','O',0}; 1799 if (GetDriveTypeW(lpParms->lpstrElementName) != DRIVE_CDROM) { 1800 dwRet = MCIERR_EXTENSION_NOT_FOUND; 1801 goto errCleanUp; 1802 } 1803 /* FIXME: this will not work if several CDROM drives are installed on the machine */ 1804 strcpyW(strDevTyp, wszCdAudio); 1805 } Relevant log part: trace:mci:MCIWndProc MCIWNDM_OPENW L"D:\\MSWPTIME\\oz\\Intro.cp" trace:mci:mciSendCommandW (00000000, MCI_OPEN, 00000602, 007bcc2c) trace:mci:MCI_Open (00000602, 0x7bcc2c) trace:mci:MCI_Open lpstrElementName=L"D:\\MSWPTIME\\oz\\Intro.cp" trace:mci:MCI_GetDevTypeFromFileName No ...\MCI Extensions entry for L".cp" found. trace:mci:MCI_Open Alias=L"983243" ! trace:mci:MCI_LoadMciDriver wDevID=0001 trace:mci:mciSetDriverData (0001, 001eeb28) trace:mci:MCI_LoadMciDriver Loaded driver 0x1eeb00 (L"CDAUDIO"), type is 516, cmdTable=0000ffff trace:mci:MCI_LoadMciDriver mcidev=1, uDevTyp=0204 wDeviceID=0001 ! trace:mci:mciGetDriverData (0001) trace:mcicda:MCICDA_Open (0001, 00000602, 0x7bcc2c); trace:mcicda:MCICDA_Open MCI_OPEN_ELEMENT element name: L"D:\\MSWPTIME\\oz\\Intro.cp" trace:mci:MCI_Open wDevID=0001 wDeviceID=1 dwRet=0 Naturally this fails later because mcicda fails to read the TOC from the CD and gives up. Windows plays the videos just fine so I guess wine should try to open the file and guess a file type. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39266 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish(a)gmail.com --- Comment #1 from Austin English <austinenglish(a)gmail.com> --- What is 'Microsoft Wine Guide'? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39266 --- Comment #2 from Bruno Jesus <00cpxxx(a)gmail.com> --- (In reply to Austin English from comment #1)
What is 'Microsoft Wine Guide'?
It's a 1996 wine (beverage) reference application with some videos to teach how to drink wine and an atlas about wine producing regions. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39266 --- Comment #3 from Austin English <austinenglish(a)gmail.com> --- (In reply to Bruno Jesus from comment #2)
(In reply to Austin English from comment #1)
What is 'Microsoft Wine Guide'?
It's a 1996 wine (beverage) reference application with some videos to teach how to drink wine and an atlas about wine producing regions.
http://www.cdaccess.com/html/shared/mswine.htm Neat, thanks for the info. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org