Neutrino EPG Viewer: don't show empty audio track names

Signed-off-by: Gaucho316 <Gaucho316@hotmail.com>


Origin commit data
------------------
Branch: ni/coolstream
Commit: 6215d37e42
Author: Gaucho316 <Gaucho316@hotmail.com>
Date: 2012-12-19 (Wed, 19 Dec 2012)



------------------
This commit was generated by Migit
This commit is contained in:
Gaucho316
2012-12-19 19:19:42 +01:00
committed by Jacek Jendrzej
parent 9b259b8e0d
commit d77e22e271

View File

@@ -584,7 +584,7 @@ int CEpgData::show(const t_channel_id channel_id, uint64_t a_id, time_t* a_start
if (hasComponentTags) if (hasComponentTags)
{ {
for (unsigned int i = 0; i < tags.size(); i++) for (unsigned int i = 0; i < tags.size(); i++)
if (tags[i].streamContent == 2) if (tags[i].streamContent == 2 && !tags[i].component.empty())
audioInfo += tags[i].component + ", "; audioInfo += tags[i].component + ", ";
if (!audioInfo.empty()) if (!audioInfo.empty())