http://bugs.winehq.org/show_bug.cgi?id=21060
Summary: MCI open+play .avi hangs Product: Wine Version: 1.1.34 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winmm&mci AssignedTo: wine-bugs@winehq.org ReportedBy: hoehle@users.sourceforge.net
Perhaps this simple scenario explains one or another hang in some application.
Please use my mci command shell at bug #20232, comment #10 to enter the following commands: open z:...path\to\wine-src\dlls\shell32\searching.avi alias v play v Wine hangs.
Alternatively: open z:...path\to\wine-src\dlls\shell32\searching.avi alias v play v wait does not hang. Use close v Ctrl-D to exit the shell.
open z:...path\to\wine-src\dlls\shell32\searching.avi alias v window v show play v does not hang either.
Supposedly you can use any .avi file of your choice. If you prefer, you can write a 20 liner C program to send the commands instead of using my shell.
Perhaps there's some race condition? The play command must open a window if none is present (native does so). "play v wait" shows that Wine can do it too, yet the "play v" without previously opened window hangs.
BTW, the window that Wine opens for the video is larger than the one native opens. It looks like there's room reserved to the right for a scrollbar. This could explain some layout discrepancies in some applications. But that's another issue.