[MPlayer-cygwin] Problem with the -wid Switch under Win32 with DirectX

George another0001 at gmx.de
Sun Jan 16 16:05:17 CET 2005


Hi,

I'm currently trying to code a Fontend/external GUI for MPlayer. The 
First Thing I tried to do, is to integrate the MPlayer as smooth as 
possible in my
GUI. For this reasons, I catch the STD Output from MPlayer and show it 
internal.

The next step i tried to do is to integrate the Video Window into my 
GUI. At first I solved it with a simple and bad solution. I have a 
process who waits for the occurence of an MPlayer Video Window. Than it 
disables the System Menu, Border from the Window and makes it a child 
window of one of my dialogs.

I was very happy, as I found the switch -wid witch should do exactly 
what I want in a very usable way. But unfortunatly I can't get it work. 
I call the MPlayer.exe with the -wid Switch and The Handle of my Dialog 
as Integer Parameter. But the Video isn't shown in my Dialog:(

For testing Reasons I passed a invalid Window handle to the -wid switch, 
just to see what happens. In this case, MPlayer opens a new Window with 
no System Menu/Border. That shows me, that I passed a valid Window 
handle. But it seems MPlayer has Problems with my Window. It is a Simple 
Dialog Based Window. Maybe I have to create a new Window of a special 
type or something?

Sorry for my bad english, but I'm from germany

Thanks in advance
George




More information about the MPlayer-cygwin mailing list