mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2024-12-19 12:03:48 +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++) {
|
for (int i = 1 ; !engine ; i++) {
|
||||||
switch(enginetype) {
|
switch(enginetype) {
|
||||||
case Engine::None:
|
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
|
#ifdef HAVE_GSTREAMER
|
||||||
case Engine::GStreamer:
|
case Engine::GStreamer:
|
||||||
engine=true;
|
engine=true;
|
||||||
@ -124,6 +117,13 @@ EngineBase *Player::CreateEngine(Engine::EngineType enginetype) {
|
|||||||
enginebase = new GstEngine(app_->task_manager());
|
enginebase = new GstEngine(app_->task_manager());
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef HAVE_XINE
|
||||||
|
case Engine::Xine:
|
||||||
|
engine=true;
|
||||||
|
enginetype=Engine::Xine;
|
||||||
|
enginebase = new XineEngine(app_->task_manager());
|
||||||
|
break;
|
||||||
|
#endif
|
||||||
#ifdef HAVE_PHONON
|
#ifdef HAVE_PHONON
|
||||||
case Engine::Phonon:
|
case Engine::Phonon:
|
||||||
engine=true;
|
engine=true;
|
||||||
|
Loading…
Reference in New Issue
Block a user