aboutsummaryrefslogtreecommitdiffstats
path: root/etisnoop/etisnoop.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-11-17 09:21:27 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-11-17 09:21:27 +0100
commitfbca1380e3391aa42ae454b1edc5ef18709f3955 (patch)
treee866e8e3e57c4a09e4976ccbe00c457d02881efa /etisnoop/etisnoop.cpp
parentb565f165dca298f8755e086b3059914fdd379ac7 (diff)
downloadmmbtools-aux-fbca1380e3391aa42ae454b1edc5ef18709f3955.tar.gz
mmbtools-aux-fbca1380e3391aa42ae454b1edc5ef18709f3955.tar.bz2
mmbtools-aux-fbca1380e3391aa42ae454b1edc5ef18709f3955.zip
Etisnoop add faad_decoder
Diffstat (limited to 'etisnoop/etisnoop.cpp')
-rw-r--r--etisnoop/etisnoop.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/etisnoop/etisnoop.cpp b/etisnoop/etisnoop.cpp
index e81741e..5e3188c 100644
--- a/etisnoop/etisnoop.cpp
+++ b/etisnoop/etisnoop.cpp
@@ -103,8 +103,9 @@ int main(int argc, char *argv[])
switch (ch) {
case 'd':
{
+ int subchix = atoi(optarg);
DabPlusSnoop dps;
- streams_to_decode[atoi(optarg)] = dps;
+ streams_to_decode[subchix] = dps;
}
break;
case 'e':
@@ -346,6 +347,7 @@ int eti_analyse(eti_analyse_config_t& config)
if (config.streams_to_decode.count(i) > 0) {
config.streams_to_decode[i].set_subchannel_index(stl[i]/3);
+ config.streams_to_decode[i].set_index(i);
}
}