git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c3f2fa3
)
compile fixes for gcc-4.3, allow compilation with old gst
author
Felix Domke
<tmbinc@elitedvb.net>
Sat, 16 May 2009 17:04:41 +0000
(19:04 +0200)
committer
Felix Domke
<tmbinc@elitedvb.net>
Sat, 16 May 2009 17:04:41 +0000
(19:04 +0200)
lib/service/servicemp3.cpp
patch
|
blob
|
history
diff --git
a/lib/service/servicemp3.cpp
b/lib/service/servicemp3.cpp
index 79098f2c81eae0d2f91b2332fd766ef25deee6a9..5866d0698729c649a0dfe30d142d2373eef86ce4 100644
(file)
--- a/
lib/service/servicemp3.cpp
+++ b/
lib/service/servicemp3.cpp
@@
-17,6
+17,12
@@
/* for subtitles */
#include <lib/gui/esubtitle.h>
/* 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()
// eServiceFactoryMP3
eServiceFactoryMP3::eServiceFactoryMP3()
@@
-603,7
+609,7
@@
RESULT eServiceMP3::getName(std::string &name)
int eServiceMP3::getInfo(int w)
{
int eServiceMP3::getInfo(int w)
{
- gchar *tag = 0;
+
const
gchar *tag = 0;
switch (w)
{
switch (w)
{
@@
-704,7
+710,7
@@
std::string eServiceMP3::getInfoString(int w)
{
if ( !m_stream_tags )
return "";
{
if ( !m_stream_tags )
return "";
- gchar *tag = 0;
+
const
gchar *tag = 0;
switch (w)
{
case sTagTitle:
switch (w)
{
case sTagTitle:
@@
-820,7
+826,7
@@
std::string eServiceMP3::getInfoString(int w)
PyObject *eServiceMP3::getInfoObject(int w)
{
PyObject *eServiceMP3::getInfoObject(int w)
{
- gchar *tag = 0;
+
const
gchar *tag = 0;
bool isBuffer = false;
switch (w)
{
bool isBuffer = false;
switch (w)
{