[MPlayer-dev-eng] [PATCH] w32_common.c replace WM_DESTROY by WM_CLOSE
Reimar Döffinger
Reimar.Doeffinger at stud.uni-karlsruhe.de
Fri Feb 27 21:07:44 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).
Greetings,
Reimar Döffinger
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: w32_WM_DESTROY.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040227/6609f700/attachment.asc>
More information about the MPlayer-dev-eng
mailing list