[MPlayer-dev-eng] [PATCH] Windows GUI does not work in idle mode

Stephen Sheldon sfsheldo at gmail.com
Tue Sep 27 18:44:01 CEST 2011

The Windows gui does not work in idle mode (-idle) with mingw64
and cygwin.  It only seems to work with ming32.  On mingw64 and cygwin,
if you play a file, and then attempt to play a second file, gmplayer
aborts.  The cause is a double free because of the code in win32/interface.c
about line 605.  I also changed the code about line 466 because I did
not see how that could possibly work.  Setting the global pointer "filename"
multiple times leads to memory leaks, so I changed assignments and
strdups to setdup.  This required changing a reference to "filename" in
guiPlayListInitialize to a local variable.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mplayer.patch3
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20110927/a3e6244e/attachment.ksh>

More information about the MPlayer-dev-eng mailing list