summaryrefslogtreecommitdiffstats
path: root/src/OutputFile.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2019-09-05 10:58:40 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2019-09-05 10:58:40 +0200
commita4f53e26f1f80d89a5503ca3b33dbd88ee28565e (patch)
treecfc761c4eaf85148b5b8dc401838e527d7dccfea /src/OutputFile.h
parent57a8fcd660b1f4107f01e12bb103888400abb4ba (diff)
downloaddabmod-a4f53e26f1f80d89a5503ca3b33dbd88ee28565e.tar.gz
dabmod-a4f53e26f1f80d89a5503ca3b33dbd88ee28565e.tar.bz2
dabmod-a4f53e26f1f80d89a5503ca3b33dbd88ee28565e.zip
OutputFile: improve Metadata print
Diffstat (limited to 'src/OutputFile.h')
-rw-r--r--src/OutputFile.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/OutputFile.h b/src/OutputFile.h
index 745e672..b10d406 100644
--- a/src/OutputFile.h
+++ b/src/OutputFile.h
@@ -33,10 +33,11 @@
#include "ModPlugin.h"
#include "EtiReader.h"
+#include "TimestampDecoder.h"
#include <string>
-#include <stdio.h>
-#include <sys/types.h>
+#include <cstdio>
+#include <cstdint>
#include <memory>
class OutputFile : public ModOutput, public ModMetadata
@@ -52,6 +53,7 @@ public:
protected:
bool myShowMetadata = false;
+ frame_timestamp myLastTimestamp;
std::string myFilename;
struct FILEDeleter{ void operator()(FILE* fd){ if (fd) fclose(fd); }};