From 4c80c9b423d0ade6dfaeb37e327342f17a7c6997 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Sat, 10 Mar 2018 23:51:05 +0100 Subject: [PATCH] Use gstreamer as default engine. --- src/core/player.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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;