summaryrefslogtreecommitdiff
path: root/sdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'sdt.c')
-rw-r--r--sdt.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/sdt.c b/sdt.c
index a4a62b4d..efcad3d5 100644
--- a/sdt.c
+++ b/sdt.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: sdt.c 1.10 2004/07/18 10:58:01 kls Exp $
+ * $Id: sdt.c 1.11 2004/07/18 11:14:42 kls Exp $
*/
#include "sdt.h"
@@ -69,6 +69,15 @@ void cSdtFilter::Process(u_short Pid, u_char Tid, const u_char *Data, int Length
strcpy(ps, NameBuf);
pn = ShortNameBuf;
}
+ if (*pn) {
+ char ProviderNameBuf[1024];
+ sd->providerName.getText(ProviderNameBuf, sizeof(ProviderNameBuf));
+ if (*ProviderNameBuf) {
+ char *p = pn + strlen(pn);
+ *p++ = ';';
+ strcpy(p, ProviderNameBuf);
+ }
+ }
if (channel) {
channel->SetId(sdt.getOriginalNetworkId(), sdt.getTransportStreamId(), SiSdtService.getServiceId());
if (Setup.UpdateChannels >= 1)