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

Sascha Sommer saschasommer at freenet.de
Sat Feb 28 13:04:11 CET 2004


>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).

Looks ok, but I can't apply it right now. If noone else does I will apply it
tomorrow.

Sascha




More information about the MPlayer-dev-eng mailing list