mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2024-12-30 10:10:33 +01:00
Use gstreamer as default engine.
This commit is contained in:
parent
16cabf33a2
commit
4c80c9b423
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user