From 019762d6cd083eb6d49f3611eb692aad2f9dd506 Mon Sep 17 00:00:00 2001 From: Fraxinas Date: Mon, 11 May 2009 18:38:01 +0200 Subject: [PATCH] correctly return (missing plugin) error message strings to the gui --- lib/service/servicemp3.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/service/servicemp3.cpp b/lib/service/servicemp3.cpp index 79098f2..5ac413b 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: { -- 2.7.4