summaryrefslogtreecommitdiffstats
path: root/src/DabMux.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-03-22 17:17:30 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-03-22 17:17:30 +0100
commit750bcb896be7ab84cc30de58aba4c4620dfcf54b (patch)
treed10ce58e1fe66ea4287c11d7221a570d8f8daf7a /src/DabMux.cpp
parent479b106611539785a92cd77bbf3124c26501fce2 (diff)
downloaddabmux-750bcb896be7ab84cc30de58aba4c4620dfcf54b.tar.gz
dabmux-750bcb896be7ab84cc30de58aba4c4620dfcf54b.tar.bz2
dabmux-750bcb896be7ab84cc30de58aba4c4620dfcf54b.zip
Add local-time-offset and intl. table options
Diffstat (limited to 'src/DabMux.cpp')
-rw-r--r--src/DabMux.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/DabMux.cpp b/src/DabMux.cpp
index 5fbc035..19d4557 100644
--- a/src/DabMux.cpp
+++ b/src/DabMux.cpp
@@ -1599,7 +1599,7 @@ int main(int argc, char *argv[])
fig0_10->Extension = 10;
index = index + 2;
- timeData = localtime(&date);
+ timeData = gmtime(&date);
fig0_10->RFU = 0;
fig0_10->setMJD(gregorian2mjd(timeData->tm_year + 1900,
@@ -1627,9 +1627,9 @@ int main(int argc, char *argv[])
fig0_9->ext = 0;
fig0_9->lto = 0;
- fig0_9->ensembleLto = 0;
+ fig0_9->ensembleLto = ensemble->lto;
fig0_9->ensembleEcc = ensemble->ecc;
- fig0_9->tableId = 0x2;
+ fig0_9->tableId = ensemble->international_table;
index += 5;
figSize += 5;