summaryrefslogtreecommitdiffstats
path: root/src/ParserCmdline.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-02-14 15:46:54 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-02-14 15:46:54 +0100
commitd6923be4bd2e198b4cba161e8040072128bd392c (patch)
treecf3e74d4685075b4836141c48a71507666074781 /src/ParserCmdline.cpp
parent77d77e5f4d60ed9d1f8346910f42fe2d61122f22 (diff)
downloaddabmux-d6923be4bd2e198b4cba161e8040072128bd392c.tar.gz
dabmux-d6923be4bd2e198b4cba161e8040072128bd392c.tar.bz2
dabmux-d6923be4bd2e198b4cba161e8040072128bd392c.zip
make DabComponent a class and make its label RC controllable
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 2027bff..60ce118 100644
--- a/src/ParserCmdline.cpp
+++ b/src/ParserCmdline.cpp
@@ -103,7 +103,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<DabComponent*>::iterator component = ensemble->components.end();
vector<DabService*>::iterator service = ensemble->services.end();
dabProtection* protection = NULL;
@@ -171,7 +171,7 @@ bool parse_cmdline(char **argv,
goto EXIT;
}
- ensemble->components.push_back(new dabComponent);
+ ensemble->components.push_back(new DabComponent("?"));
component = ensemble->components.end() - 1;
subchannel = ensemble->subchannels.end();