[MPlayer-cygwin] [PATCH] Activating OSD Menu for MinGW

Christophe Périnaud christophe.perinaud at free.fr
Sat Aug 30 14:08:46 CEST 2003


I will have a look on that and try to make the run command working.
Thx for the link

I will remove the include of wait.h, the definition of WNOHANG and 
generate a new patch for all of that.

Thx
Chris

Sascha Sommer wrote:

>>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