diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-11-17 09:21:27 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-11-17 09:21:27 +0100 |
commit | 90e2e9e59dd38d075c6f95629f1087e24954a327 (patch) | |
tree | f70d99fd64f447347410905a5eaf65912cdd4eec /etisnoop.cpp | |
parent | 3a8c93167b5879b1811e9b609227acbfe382a126 (diff) | |
download | etisnoop-90e2e9e59dd38d075c6f95629f1087e24954a327.tar.gz etisnoop-90e2e9e59dd38d075c6f95629f1087e24954a327.tar.bz2 etisnoop-90e2e9e59dd38d075c6f95629f1087e24954a327.zip |
Etisnoop add faad_decoder
Diffstat (limited to 'etisnoop.cpp')
-rw-r--r-- | etisnoop.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/etisnoop.cpp b/etisnoop.cpp index e81741e..5e3188c 100644 --- a/etisnoop.cpp +++ b/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); } } |