aboutsummaryrefslogtreecommitdiffstats
path: root/src/etisnoop.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2021-05-14 10:09:35 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2021-05-14 10:09:35 +0200
commit1a10e4cf82ff9082a84f81f3feadfceb528e08eb (patch)
tree0855564b702780680b2292debf1c428e9591aff3 /src/etisnoop.cpp
parentcc4cac79ada4adf808bd09417942a995530c3a69 (diff)
downloadetisnoop-1a10e4cf82ff9082a84f81f3feadfceb528e08eb.tar.gz
etisnoop-1a10e4cf82ff9082a84f81f3feadfceb528e08eb.tar.bz2
etisnoop-1a10e4cf82ff9082a84f81f3feadfceb528e08eb.zip
Add some more changes to subchannel extraction
Diffstat (limited to 'src/etisnoop.cpp')
-rw-r--r--src/etisnoop.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/etisnoop.cpp b/src/etisnoop.cpp
index 13239e5..ce2f27a 100644
--- a/src/etisnoop.cpp
+++ b/src/etisnoop.cpp
@@ -138,10 +138,10 @@ int main(int argc, char *argv[])
switch (ch) {
case 'd':
{
- int subchix = atoi(optarg);
+ int subchid = atoi(optarg);
config.streams_to_decode.emplace(std::piecewise_construct,
- std::make_tuple(subchix),
- std::make_tuple(true)); // dump to file
+ std::make_tuple(subchid),
+ std::make_tuple(subchid, true)); // dump to file
}
break;
case 'e':