changeset 19409:37decab2ed46

Move mpeg aos to the end of the autodetection list. At least mpegpes should be there since it now works without the corresponding vo but is not a particularly good ao overall.
author uau
date Wed, 16 Aug 2006 20:04:43 +0000
parents df307a050359
children 0e37275ccbe5
files libao2/audio_out.c
diffstat 1 files changed, 7 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/libao2/audio_out.c	Wed Aug 16 16:21:17 2006 +0000
+++ b/libao2/audio_out.c	Wed Aug 16 20:04:43 2006 +0000
@@ -74,14 +74,6 @@
 
 ao_functions_t* audio_out_drivers[] =
 {
-// vo-related:   will fail unless you also do -vo mpegpes/dxr2/ivtv
-	&audio_out_mpegpes,
-#ifdef HAVE_DXR2
-        &audio_out_dxr2,
-#endif
-#ifdef HAVE_IVTV
-        &audio_out_ivtv,
-#endif
 // native:
 #ifdef HAVE_DIRECTX
         &audio_out_dsound,
@@ -132,6 +124,13 @@
 #ifdef USE_OPENAL
         &audio_out_openal,
 #endif
+	&audio_out_mpegpes,
+#ifdef HAVE_DXR2
+        &audio_out_dxr2,
+#endif
+#ifdef HAVE_IVTV
+        &audio_out_ivtv,
+#endif
         &audio_out_null,
 // should not be auto-selected:
 	&audio_out_pcm,