From: Andreas Oberritter Date: Fri, 22 Oct 2010 17:16:23 +0000 (+0000) Subject: assume HAVE_GSTREAMER is always set X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=commitdiff_plain;h=30f902c06a7bd3c726aeb08a5424d6a59871615f assume HAVE_GSTREAMER is always set --- diff --git a/lib/service/servicemp3.cpp b/lib/service/servicemp3.cpp index 1fb1e44..e453a2b 100644 --- a/lib/service/servicemp3.cpp +++ b/lib/service/servicemp3.cpp @@ -1,5 +1,3 @@ -#ifdef HAVE_GSTREAMER - /* note: this requires gstreamer 0.10.x and a big list of plugins. */ /* it's currently hardcoded to use a big-endian alsasink as sink. */ #include @@ -1791,6 +1789,3 @@ void eServiceMP3::setPCMDelay(int delay) } } -#else -#warning gstreamer not available, not building media player -#endif diff --git a/lib/service/servicemp3.h b/lib/service/servicemp3.h index 01f7cf7..b864a10 100644 --- a/lib/service/servicemp3.h +++ b/lib/service/servicemp3.h @@ -1,7 +1,6 @@ #ifndef __servicemp3_h #define __servicemp3_h -#ifdef HAVE_GSTREAMER #include #include #include @@ -228,6 +227,5 @@ private: std::string m_useragent; RESULT trickSeek(gdouble ratio); }; -#endif #endif diff --git a/main/enigma.cpp b/main/enigma.cpp index b8554d5..b336467 100644 --- a/main/enigma.cpp +++ b/main/enigma.cpp @@ -31,9 +31,7 @@ #include "bsod.h" -#ifdef HAVE_GSTREAMER #include -#endif #ifdef OBJECT_DEBUG int object_total_remaining; @@ -135,9 +133,7 @@ int main(int argc, char **argv) atexit(object_dump); #endif -#ifdef HAVE_GSTREAMER gst_init(&argc, &argv); -#endif // set pythonpath if unset setenv("PYTHONPATH", LIBDIR "/enigma2/python", 0);