aboutsummaryrefslogtreecommitdiffstats
path: root/src/ParserCmdline.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-02-14 13:07:17 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-02-14 13:07:17 +0100
commit4249e4a53950457394395555cd7dcdd6287b499b (patch)
treef24fb7336bc8897e62892da005d0815bef998f31 /src/ParserCmdline.cpp
parent6b9857cb1b2ab6b58e6e42df4b0cce54448b10a0 (diff)
downloaddabmux-4249e4a53950457394395555cd7dcdd6287b499b.tar.gz
dabmux-4249e4a53950457394395555cd7dcdd6287b499b.tar.bz2
dabmux-4249e4a53950457394395555cd7dcdd6287b499b.zip
DabService labels can now be changed through the remote control
Diffstat (limited to 'src/ParserCmdline.cpp')
-rw-r--r--src/ParserCmdline.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ParserCmdline.cpp b/src/ParserCmdline.cpp
index 9985d9a..2027bff 100644
--- a/src/ParserCmdline.cpp
+++ b/src/ParserCmdline.cpp
@@ -104,7 +104,7 @@ bool parse_cmdline(char **argv,
vector<dabOutput*>::iterator output;
vector<dabSubchannel*>::iterator subchannel = ensemble->subchannels.end();
vector<dabComponent*>::iterator component = ensemble->components.end();
- vector<dabService*>::iterator service = ensemble->services.end();
+ vector<DabService*>::iterator service = ensemble->services.end();
dabProtection* protection = NULL;
dabInputOperations operations;
@@ -148,7 +148,7 @@ bool parse_cmdline(char **argv,
service = ensemble->services.end();
break;
case 'S':
- ensemble->services.push_back(new dabService);
+ ensemble->services.push_back(new DabService("?"));
subchannel = ensemble->subchannels.end();
protection = NULL;