[MPlayer-cygwin] [PATCH] Activating OSD Menu for MinGW
Sascha Sommer
saschasommer at freenet.de
Sat Aug 30 13:24:02 CEST 2003
> With that patch, the compilation (with --enable-menu) is running fine. And
you will be able to get the menu and
> navigate.
> Don't forget to copy etc/menu.conf in the data dir of mplayer.
>I added a line in input.conf to activate the menu with the 'm' key :
> m menu down
The patch looks ok except those
+#ifndef __MINGW32__
open,
+#else
+ openMenu,
+#endif
Imo it is enough to rename open to openMenu.
You could also try to make the run command work using CreateProcess with
redirected stdout/stdin
Maybe this sample code helps you to write mingw versions of run_shell_cmd()
and check_child()
http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:
80/support/kb/articles/q190/3/51.asp&NoWebContent=1
Sascha
More information about the MPlayer-cygwin
mailing list