diff --git a/src/core/player.cpp b/src/core/player.cpp index 1ec600b67..1525df6ce 100644 --- a/src/core/player.cpp +++ b/src/core/player.cpp @@ -110,13 +110,6 @@ EngineBase *Player::CreateEngine(Engine::EngineType enginetype) { for (int i = 1 ; !engine ; i++) { switch(enginetype) { case Engine::None: -#ifdef HAVE_XINE - case Engine::Xine: - engine=true; - enginetype=Engine::Xine; - enginebase = new XineEngine(app_->task_manager()); - break; -#endif #ifdef HAVE_GSTREAMER case Engine::GStreamer: engine=true; @@ -124,6 +117,13 @@ EngineBase *Player::CreateEngine(Engine::EngineType enginetype) { enginebase = new GstEngine(app_->task_manager()); break; #endif +#ifdef HAVE_XINE + case Engine::Xine: + engine=true; + enginetype=Engine::Xine; + enginebase = new XineEngine(app_->task_manager()); + break; +#endif #ifdef HAVE_PHONON case Engine::Phonon: engine=true;