[MPlayer-dev-eng] [PATCH] Fix DirectX compilation error

Reimar Döffinger Reimar.Doeffinger at gmx.de
Mon Oct 3 22:30:02 CEST 2011


On Mon, Oct 03, 2011 at 09:22:32PM +0200, Ingo Brückl wrote:
> Reimar Döffinger wrote on Mon, 3 Oct 2011 21:00:17 +0200:
> 
> > On Mon, Oct 03, 2011 at 03:55:43AM +0200, Ingo Brückl wrote:
> >> In DirectX 8 and 9, member dwBackBufferCount is in an anonymous union.
> >>
> >> MinGW complains:
> >>
> >>   error: unknown field 'dwBackBufferCount' specified in initializer
> 
> > Huh? I've never had problems compiling it...
> > What headers did you use? I never used the official Microsoft ones.
> 
> The DirectX stuff supplied with recent MinGW didn't work on my not quite
> state-of-the-art Windows 98SE test partition, but a minimal DirectX 8 SDK
> for MinGW I found out there works like a charm.
> 
> BTW, can you imagine a possible use for option sub_window in the Win32 GUI?

Isn't that to get rid (rather hide) the GUI's window and instead use the
one create by the vo?
vo_directx supporting -wid is rather recent, and there might be others
that still do not support it (the mga one for Windows?).


More information about the MPlayer-dev-eng mailing list