[MPlayer-dev-eng] [PATCH] vo_directx

Sascha Sommer saschasommer at freenet.de
Sat Sep 28 19:54:29 CEST 2002


Hi,
this patch makes it possible to use directx for video output on cygwin.
It requires windows and directx headers installed.
Basically it should work with all versions of directx >=2
Get Directx 7 headers from http://www.videolan.org/vlc/dx7headers.tgz
and extract into your /usr/include dir
It works for me, but might not work for you.
Some stuff might for sure be done simpler, but this is my first real code
I did in C. Therefore I'm not very experienced in this.
Known bugs limitation:
colorkeying doesn't work, because CreateSolidBrush results
in undefined references. I'll fix this later when we have a 
better, maybe mingw32, port. For the same reason the
window background is your desktop color.
If you get bluish faces change swap to 0, I'm not sure but I think my
nvidia card swaps uv planes. So maybe this should be 0 by default.
Some others I don't remember for now 
Please test and fix bugs ;)

Sascha Sommer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vo_directx.diff
Type: application/octet-stream
Size: 51473 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20020928/6992b3e7/attachment.obj>


More information about the MPlayer-dev-eng mailing list