From 750bcb896be7ab84cc30de58aba4c4620dfcf54b Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sat, 22 Mar 2014 17:17:30 +0100 Subject: Add local-time-offset and intl. table options --- src/DabMux.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/DabMux.cpp') 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; -- cgit v1.2.3