From c00fa12e6cb855327b1bed2f90cfc02d50d76b95 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 20 Oct 2005 10:56:36 +0000 Subject: [PATCH] theora --- stepmania/src/arch/arch.cpp | 3 +++ stepmania/src/arch/arch_default.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/stepmania/src/arch/arch.cpp b/stepmania/src/arch/arch.cpp index ad433abbe2..88d1e46537 100644 --- a/stepmania/src/arch/arch.cpp +++ b/stepmania/src/arch/arch.cpp @@ -194,6 +194,9 @@ RageMovieTexture *MakeRageMovieTexture(RageTextureID ID) { Driver = DriversToTry[i]; LOG->Trace("Initializing driver: %s", Driver.c_str()); +#ifdef USE_MOVIE_TEXTURE_THEORA + if( !Driver.CompareNoCase("Theora") ) ret = new MovieTexture_Theora(ID); +#endif #ifdef USE_MOVIE_TEXTURE_DSHOW if( !Driver.CompareNoCase("DShow") ) ret = new MovieTexture_DShow(ID); #endif diff --git a/stepmania/src/arch/arch_default.h b/stepmania/src/arch/arch_default.h index a2b4b02a48..21979eb9c3 100644 --- a/stepmania/src/arch/arch_default.h +++ b/stepmania/src/arch/arch_default.h @@ -26,7 +26,7 @@ #endif /* MovieTexture drivers */ -#define DEFAULT_MOVIE_DRIVER_LIST "FFMpeg,DShow,Null" +#define DEFAULT_MOVIE_DRIVER_LIST "Theora,FFMpeg,DShow,Null" /* RageSoundDrivers */ #define DEFAULT_SOUND_DRIVER_LIST "ALSA,DirectSound,ALSA-sw,DirectSound-sw,CoreAudio,OSS,QT1,WaveOut,Null"