# HG changeset patch # User diego # Date 1041191936 0 # Node ID 30bb40f02e1e30e574f645e07224c85f4f4b9d09 # Parent 8ceb8a8b7244da1bdea8a37debab63a2f0a819fc Win32 DLLs and OpenGL do not work on Cygwin. Automatically disable them and update the documentation accordingly, plus some spellchecking cosmetics. diff -r 8ceb8a8b7244 -r 30bb40f02e1e DOCS/documentation.html --- a/DOCS/documentation.html Sun Dec 29 19:38:40 2002 +0000 +++ b/DOCS/documentation.html Sun Dec 29 19:58:56 2002 +0000 @@ -941,7 +941,7 @@
The Cygwin port is still in its infancy and could use some love, - patches are always welcome. You should also - check out the +
The Cygwin port is still in its infancy. Currently there is no support for
+ Win32 DLLs, VCDs or OpenGL. SDL is known to distort sound and image or crash
+ on some systems. Patches are always welcome.
+ Best results are achieved with the native DirectX video output driver
+ (-vo directx
) and the native Windows waveout audio driver
+ (-ao win32
). You should also check out the
mplayer-cygwin
mailing list for help and latest information.
To get native DirectX video (-vo directx
), extract the
- DirectX 7 header files
- into /usr/include/
or
/usr/local/include/
and
- recompile. This, together with
-ao win32
should give you best
- results. If the image is distorted, try turning off hardware acceleration with
- -vo directx:noaccel
.
You have to copy or symlink etc/cygwin_inttypes.h
from the
+ MPlayer source directory to /usr/include/inttypes.h
in order to
+ make MPlayer compile.
You will have to go to the MPlayer directory, and copy or symlink
- etc/cygwin_inttypes.h
to /usr/include/inttypes.h
to
- make MPlayer compile. Otherwise it will complain about missing
- inttypes.h
.
Since there is no support for Win32 DLLs under Cygwin and OpenGL and mpdvdkit
- do not work/compile, you should disable them in configure with
- ./configure --disable-win32 --disable-gl --disable-mpdvdkit
.
To get native DirectX video, download
+ DirectX 7 header files,
+ extract them to /usr/include/
or /usr/local/include/
+ and recompile. If the image is distorted, try turning off hardware
+ acceleration with -vo directx:noaccel
.
Instructions and files for making SDL run under Cygwin can be found on the libsdl site.
diff -r 8ceb8a8b7244 -r 30bb40f02e1e configure --- a/configure Sun Dec 29 19:38:40 2002 +0000 +++ b/configure Sun Dec 29 19:58:56 2002 +0000 @@ -214,7 +214,7 @@ --disable-esd disable esd sound support [autodetect] --disable-alsa disable alsa sound support [autodetect] --disable-sunaudio disable Sun sound support [autodetect] - --disable-win32waveout disable windows waveout sound support [autodetect] + --disable-win32waveout disable Windows waveout sound support [autodetect] --disable-select disable using select() on audio device [enable] Miscellaneous options: @@ -2548,6 +2548,7 @@ echocheck "OpenGL" +cygwin && _gl=no #Note: this test is run even with --enable-gl since we autodetect $_ld_gl if test "$_x11" = yes && test "$_gl" != no ; then cat > $TMPC << EOF @@ -3007,7 +3008,7 @@ echores "no" fi -echocheck "windows waveout" +echocheck "Windows waveout" if test "$_win32waveout" = auto ; then cat > $TMPC << EOF #include