[MPlayer-dev-eng] [PATCH] w32_common.c replace WM_DESTROY byWM_CLOSE
Sascha Sommer
saschasommer at freenet.de
Sun Feb 29 18:43:42 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).
Applied.
Sascha
More information about the MPlayer-dev-eng
mailing list