From d77e22e27135a329657b9d78e83b91e79f14dda5 Mon Sep 17 00:00:00 2001 From: Gaucho316 Date: Wed, 19 Dec 2012 19:19:42 +0100 Subject: [PATCH] Neutrino EPG Viewer: don't show empty audio track names Signed-off-by: Gaucho316 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/6215d37e427ab60c18092e24ce406d188c78ff15 Author: Gaucho316 Date: 2012-12-19 (Wed, 19 Dec 2012) ------------------ This commit was generated by Migit --- src/gui/epgview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/epgview.cpp b/src/gui/epgview.cpp index 13199976f..3eecb70f9 100644 --- a/src/gui/epgview.cpp +++ b/src/gui/epgview.cpp @@ -584,7 +584,7 @@ int CEpgData::show(const t_channel_id channel_id, uint64_t a_id, time_t* a_start if (hasComponentTags) { 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 + ", "; if (!audioInfo.empty())