diff options
Diffstat (limited to 'src/EtiReader.cpp')
-rw-r--r-- | src/EtiReader.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/EtiReader.cpp b/src/EtiReader.cpp index 7e7d4af..fcc0125 100644 --- a/src/EtiReader.cpp +++ b/src/EtiReader.cpp @@ -23,6 +23,7 @@ */ #include "EtiReader.h" +#include "Log.h" #include "PcDebug.h" #include "TimestampDecoder.h" @@ -47,13 +48,16 @@ enum ETI_READER_STATE { }; -EtiReader::EtiReader(struct modulator_offset_config& modconf) : - state(EtiReaderStateSync), myFicSource(NULL) +EtiReader::EtiReader(struct modulator_offset_config& modconf, + Logger& logger) : + myLogger(logger), + state(EtiReaderStateSync), + myFicSource(NULL) { PDEBUG("EtiReader::EtiReader()\n"); myCurrentFrame = 0; - myTimestampDecoder = new TimestampDecoder(modconf); + myTimestampDecoder = new TimestampDecoder(modconf, myLogger); } EtiReader::~EtiReader() |