diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2009-05-16 19:04:41 +0200 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2009-05-16 19:04:41 +0200 |
| commit | 1bba7d19f64a7a2896bdb54a1c54c585f591cc8c (patch) | |
| tree | 1f58ddc8a39c628c5d5b8dfb3bbf3dddd078108e /lib/service/servicemp3.cpp | |
| parent | c3f2fa3d78531c2cb7de469d38e44c965102d454 (diff) | |
| download | enigma2-1bba7d19f64a7a2896bdb54a1c54c585f591cc8c.tar.gz enigma2-1bba7d19f64a7a2896bdb54a1c54c585f591cc8c.zip | |
compile fixes for gcc-4.3, allow compilation with old gst
Diffstat (limited to 'lib/service/servicemp3.cpp')
| -rw-r--r-- | lib/service/servicemp3.cpp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/service/servicemp3.cpp b/lib/service/servicemp3.cpp index 79098f2c..5866d069 100644 --- a/lib/service/servicemp3.cpp +++ b/lib/service/servicemp3.cpp @@ -17,6 +17,12 @@ /* for subtitles */ #include <lib/gui/esubtitle.h> +#ifndef GST_SEEK_FLAG_SKIP +#warning Compiling for legacy gstreamer, things will break +#define GST_SEEK_FLAG_SKIP 0 +#define GST_TAG_HOMEPAGE "" +#endif + // eServiceFactoryMP3 eServiceFactoryMP3::eServiceFactoryMP3() @@ -603,7 +609,7 @@ RESULT eServiceMP3::getName(std::string &name) int eServiceMP3::getInfo(int w) { - gchar *tag = 0; + const gchar *tag = 0; switch (w) { @@ -704,7 +710,7 @@ std::string eServiceMP3::getInfoString(int w) { if ( !m_stream_tags ) return ""; - gchar *tag = 0; + const gchar *tag = 0; switch (w) { case sTagTitle: @@ -820,7 +826,7 @@ std::string eServiceMP3::getInfoString(int w) PyObject *eServiceMP3::getInfoObject(int w) { - gchar *tag = 0; + const gchar *tag = 0; bool isBuffer = false; switch (w) { |
