[MPlayer-dev-eng] [PATCH] w32_common.c replace WM_DESTROY byWM_CLOSE

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sun Feb 29 20:28:56 CET 2004


Sascha Sommer wrote:
>>Hi,
>>line 27 in w32_common.c sends a quit command to mplayer when a 
>>WM_DESTROY message is received. This is just plain nonsense, >because 
>>WM_DESTROY is sent upon removal of the window, e.g. also by the 
>>DestroyWindow function in vo_w32_uninit - like this it is impossible to >
>>play multiple files.
>>The correct message is WM_CLOSE which is sent when the window 
>>is 
>>_requested_ to close (e.g. because the user presses ALT+F4).
> 
> 
> Applied.

Thanks

Greetings,
Reimar Döffinger




More information about the MPlayer-dev-eng mailing list