[MPlayer-dev-eng] [PATCH] reorder VOs and AOs for Cygwin

Diego Biurrun diego at biurrun.de
Thu Jan 2 16:27:19 CET 2003


Hi!

I'd like to rearrange the order in which MPlayer tries the different VO 
and AO drivers to give a better out of the box experience on Cygwin. 
Currently OSS is tried before Win32 and SDL and all X VOs before 
directx.  This is suboptimal, since native drivers should take 
precedence.  OSS has severe sync problems, SDL audio crackles a lot and 
SDL video crashes for me on Cygwin.  Of course it is possible to disable 
the other drivers at compilation, use command line switches or config 
file entries, but it is always nicer for things to work out of the box 
and inexperienced users should have less problems.
I'd therefore like to make this change.

Diego


--- libvo/video_out.c   11 Nov 2002 15:20:25 -0000      1.64
+++ libvo/video_out.c   2 Jan 2003 16:23:53 -0000
@@ -117,6 +117,9 @@
  #ifdef HAVE_TDFXFB
          &video_out_tdfxfb,
  #endif
+#ifdef HAVE_DIRECTX
+        &video_out_directx,
+#endif
  #ifdef HAVE_XV
          &video_out_xv,
  #endif
@@ -133,9 +136,6 @@
  #endif
  #ifdef HAVE_SDL
          &video_out_sdl,
-#endif
-#ifdef HAVE_DIRECTX
-        &video_out_directx,
  #endif
  #ifdef HAVE_GGI
         &video_out_ggi,

--- libao2/audio_out.c  27 Dec 2002 16:02:57 -0000      1.31
+++ libao2/audio_out.c  2 Jan 2003 16:23:54 -0000
@@ -60,6 +60,9 @@
          &audio_out_dxr2,
  #endif
  // native:
+#ifdef HAVE_WIN32WAVEOUT
+        &audio_out_win32,
+#endif
  #ifdef USE_OSS_AUDIO
          &audio_out_oss,
  #endif
@@ -74,9 +77,6 @@
  #endif
  #ifdef USE_SUN_AUDIO
          &audio_out_sun,
-#endif
-#ifdef HAVE_WIN32WAVEOUT
-        &audio_out_win32,
  #endif
  // wrappers:
  #ifdef USE_ARTS



More information about the MPlayer-dev-eng mailing list