From: Fraxinas Date: Mon, 11 May 2009 16:38:01 +0000 (+0200) Subject: correctly return (missing plugin) error message strings to the gui X-Git-Tag: 2.6.0~317^2~3^2~1 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/019762d6cd083eb6d49f3611eb692aad2f9dd506 correctly return (missing plugin) error message strings to the gui --- 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: {