Re: WINMM problem with Half-Life

2004-01-23 Thread Mike McCormack
Here you go. wine --debugmsg +mciavi,+winmm,+seh hl.exe hl-winmm.log Pressed ^C after it hung. Mike Eric Pouech wrote: yup. can you post a -debugmsg +mciavi trace A+ hl-winmm.log.gz Description: Unix tar archive

Re: WINMM problem with Half-Life

2004-01-22 Thread Eric Pouech
Well, it sort of does... but with that patch, sometimes westuck in the critical section. I guess the question is why does dwEventCount count further than expected? yup. can you post a -debugmsg +mciavi trace A+

Re: WINMM problem with Half-Life

2004-01-21 Thread Mike McCormack
Mike McCormack wrote: Eric Pouech wrote: Any ideas? as an ugly hack, does setting the dwEventCount in the WINE_MCIAVI struct as volatile help ? (private_mciavi.h). No, that didn't help, the one below does: Well, it sort of does... but with that patch, sometimes westuck in the critical

WINMM problem with Half-Life

2004-01-20 Thread Mike McCormack
Hi Eric, After implementing the ICCVID codec, the intro AVI in Half-Life plays nicely, however when it finishes, WinMM gets stuck in a loop while cleaning up in MCIAVI_mciPlay. I think it's trying to wait for the sound to finish, however I'm not sure how to fix the problem. The patch below

Re: WINMM problem with Half-Life

2004-01-20 Thread Eric Pouech
Mike McCormack a écrit : Hi Eric, After implementing the ICCVID codec, the intro AVI in Half-Life plays nicely, however when it finishes, WinMM gets stuck in a loop while cleaning up in MCIAVI_mciPlay. I think it's trying to wait for the sound to finish, however I'm not sure how to fix the

Re: WINMM problem with Half-Life

2004-01-20 Thread Mike McCormack
Eric Pouech wrote: Any ideas? as an ugly hack, does setting the dwEventCount in the WINE_MCIAVI struct as volatile help ? (private_mciavi.h). No, that didn't help, the one below does: Mike diff -u -r1.1.1.10 mciavi.c --- dlls/winmm/mciavi/mciavi.c 10 Jan 2004 00:11:58 - 1.1.1.10 +++