[MPlayer-dev-eng] [PATCH] Windows GUI does not work in idle mode
ib at wupperonline.de
Tue Sep 27 23:29:31 CEST 2011
Stephen Sheldon wrote on Tue, 27 Sep 2011 09:44:01 -0700:
> The Windows gui does not work in idle mode (-idle) with mingw64
> and cygwin. It only seems to work with ming32.
That is strange. Why would there be a difference?
> The cause is [...]
Unfortunately, the Win32 and X11/GTK GUIs differ, but guiInfo.Filename and
global variable filename handling is the same. While guiInfo.Filename is
allocated, filename isn't.
> I also changed the code about line 466 because I did not see how that could
> possibly work.
I think already the old code is pointless at all, because guiInfo.Filename
must be set and "passed" to MPlayer using global variable filename.
Here is a revised version of your patch. Please test with and without idle
mode and with and without playlists (both explicit ones by loading through
the GUI playlist button and implicit ones by passing on the command line
which should cause the GUI to run immediately - even mixing files and
-playlist options ought to work).
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1165 bytes
Desc: not available
More information about the MPlayer-dev-eng