aboutsummaryrefslogtreecommitdiff
path: root/lib/service
diff options
context:
space:
mode:
authorFraxinas <andreas.frisch@multimedia-labs.de>2009-05-11 18:38:01 +0200
committerFraxinas <andreas.frisch@multimedia-labs.de>2009-05-11 18:38:01 +0200
commit019762d6cd083eb6d49f3611eb692aad2f9dd506 (patch)
tree9613f94cf63994738ff9727d580f2cf128a75353 /lib/service
parent5c89990b9cdd642f31a54a0fe507fa221abceba1 (diff)
downloadenigma2-019762d6cd083eb6d49f3611eb692aad2f9dd506.tar.gz
enigma2-019762d6cd083eb6d49f3611eb692aad2f9dd506.zip
correctly return (missing plugin) error message strings to the gui
Diffstat (limited to 'lib/service')
-rw-r--r--lib/service/servicemp3.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/service/servicemp3.cpp b/lib/service/servicemp3.cpp
index 79098f2c..5ac413b1 100644
--- a/lib/service/servicemp3.cpp
+++ b/lib/service/servicemp3.cpp
@@ -702,7 +702,7 @@ int eServiceMP3::getInfo(int w)
std::string eServiceMP3::getInfoString(int w)
{
- if ( !m_stream_tags )
+ if ( !m_stream_tags && w < sUser && w > 26 )
return "";
gchar *tag = 0;
switch (w)
@@ -800,7 +800,6 @@ std::string eServiceMP3::getInfoString(int w)
case sTagChannelMode:
tag = "channel-mode";
break;
-
case sUser+12:
return m_error_message;
default:
@@ -1128,6 +1127,7 @@ eDebug("AUDIO STRUCT=%s", g_type);
g_free (g_lang);
// g_free (g_type);
}
+ m_event((iPlayableService*)this, evUpdatedEventInfo);
}
case GST_MESSAGE_ELEMENT:
{