From b5d25351fe27d3f115e063de469195a288238527 Mon Sep 17 00:00:00 2001 From: diego Date: Fri, 3 Jan 2003 05:10:44 +0000 Subject: [PATCH] Rearrange the vo and ao driver order to prefer the native drivers and give a better out of the box experience on Cygwin. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8730 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libao2/audio_out.c | 6 +++--- libvo/video_out.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libao2/audio_out.c b/libao2/audio_out.c index 37afb5ccbf..24f17a76db 100644 --- a/libao2/audio_out.c +++ b/libao2/audio_out.c @@ -60,6 +60,9 @@ ao_functions_t* audio_out_drivers[] = &audio_out_dxr2, #endif // native: +#ifdef HAVE_WIN32WAVEOUT + &audio_out_win32, +#endif #ifdef USE_OSS_AUDIO &audio_out_oss, #endif @@ -75,9 +78,6 @@ ao_functions_t* audio_out_drivers[] = #ifdef USE_SUN_AUDIO &audio_out_sun, #endif -#ifdef HAVE_WIN32WAVEOUT - &audio_out_win32, -#endif // wrappers: #ifdef USE_ARTS &audio_out_arts, diff --git a/libvo/video_out.c b/libvo/video_out.c index d86777f886..a717435bf2 100644 --- a/libvo/video_out.c +++ b/libvo/video_out.c @@ -102,6 +102,9 @@ extern vo_functions_t video_out_xvidix; vo_functions_t* video_out_drivers[] = { +#ifdef HAVE_DIRECTX + &video_out_directx, +#endif #ifdef HAVE_XMGA &video_out_xmga, #endif @@ -134,9 +137,6 @@ vo_functions_t* video_out_drivers[] = #ifdef HAVE_SDL &video_out_sdl, #endif -#ifdef HAVE_DIRECTX - &video_out_directx, -#endif #ifdef HAVE_GGI &video_out_ggi, #endif